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
Bogus colon in sub or method definition causes QAST::Op invoke() error #3092
Comments
From @labsterlabster: r: sub foo ($bar :D) { 1; } |
From @usev6Current failure mode (branch 'glr', perl6 version 2015.07.1-682-g57b7ebc built on MoarVM version 2015.07-108-g7e9f29e): $ perl6-m -e 'sub foo ($bar :D) { 1; }' $ perl6-m --ll-exception -e 'sub foo ($bar :D) { 1; }' |
1 similar comment
From @usev6Current failure mode (branch 'glr', perl6 version 2015.07.1-682-g57b7ebc built on MoarVM version 2015.07-108-g7e9f29e): $ perl6-m -e 'sub foo ($bar :D) { 1; }' $ perl6-m --ll-exception -e 'sub foo ($bar :D) { 1; }' |
@usev6 - Status changed from 'new' to 'open' |
From @jnthnOn Tue Sep 01 13:21:08 2015, bartolin@gmx.de wrote:
Now gives a better error: ===SORRY!=== Error while compiling -e It considers it (correctly enough) as a type name because it's after the invocant separator :. Test added to S32-exceptions/misc.t. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#117417 (status was 'resolved')
Searchable as RT117417$
The text was updated successfully, but these errors were encountered: