New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BEGIN { eval "..." } Confuses Rakudo #2896
Comments
From @edwinsteval inside a BEGIN block seems to confuse rakudo: $ ./perl6 -e 'BEGIN { eval "0" } With a semicolon, the confusion goes away: $ ./perl6 -e 'BEGIN { eval "0" }; Also without the eval there is no confusion: $ ./perl6 -e 'BEGIN { say "0" } This is independent from using -e or a file: $ cat test.pl $ ./perl6 --version |
From sohtil@gmail.comspectest added: commit a7483bec004cf98a4e8fe774e56a42bf28648485 Add test for RT #115134: [BUG] BEGIN { eval "..." } Confuses Rakudo. diff --git a/S04-phasers/eval-in-begin.t b/S04-phasers/eval-in-begin.t |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzWorks now, test passes. |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#115134 (status was 'resolved')
Searchable as RT115134$
The text was updated successfully, but these errors were encountered: