GSoC/GCI Archive
Google Code-in 2011 The Perl Foundation

Write a test for bug RT #74300, The presence of a new($) multi method breaks attribute initialization

completed by: djanatyn

mentors: Moritz Lenz, Tadeusz SoĊ›nierz

In the Rakudo Perl 6 compiler, we only close bug reports when both the error is gone, and a test runs that ensures the problem doesn't reappear.

Write a test for the bug reported at https://rt.perl.org/rt3/Public/Bug/Display.html?id=74300. It should go into the "roast" repository at https://github.com/perl6/roast/ into file S12-construction/new.t. Submit the test as a pull request on github, with "GCI" in the title.

Verify that the test passes on current rakudo. To do that, clone the rakudo/rakudo repository from github, and run the commands

perl Configure.pl --gen-parrot
make testable
perl t/harness --fudge path/to/your/roast/repo/S12-construction/new.t