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
perl6 -e "(6;)" results in "===SORRY!===\nCannot find method 'returns'" #3660
Comments
From @raiphsay (5; 6,5; 5.6; 6,; 5,6; 3+3; 6\ ; 66; :4foo); # OK 04:29 raiph m: say (6;) -- |
From @moritzOn Wed Jan 28 21:28:11 2015, raiph wrote:
--target=ast says: - QAST::Stmts So it seems the codegen is wrong, and the optimizer blows up on it. It should probably generate a QAST::VWal (Int) or so. |
From @usev6The problem was that '6;' was parsed as meaning 'no strict'. This lead to some discussion on #perl6 and a change in the design docs (Raku/old-design-docs@b7196bd240) and the Grammar for parsing Perl 6 (rakudo/rakudo@62266f7e20). Nowadays there is no problem with '(6;)' $ perl6 -e 'say (6;)' $ perl6 -e 'say (2,3,4; 5,6,7; 6; 8,9,0)' I added a test to S02-names/strict.t with commit Raku/roast@1cd6489a07. I'm closing this ticket as resolved. |
1 similar comment
From @usev6The problem was that '6;' was parsed as meaning 'no strict'. This lead to some discussion on #perl6 and a change in the design docs (Raku/old-design-docs@b7196bd240) and the Grammar for parsing Perl 6 (rakudo/rakudo@62266f7e20). Nowadays there is no problem with '(6;)' $ perl6 -e 'say (6;)' $ perl6 -e 'say (2,3,4; 5,6,7; 6; 8,9,0)' I added a test to S02-names/strict.t with commit Raku/roast@1cd6489a07. I'm closing this ticket as resolved. |
@usev6 - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#123696 (status was 'resolved')
Searchable as RT123696$
The text was updated successfully, but these errors were encountered: