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
LTA error message when an enum value occurs in the signature of a routine without a closing curly brace '}' in Rakudo #4221
Comments
From @masak<andreoss> m: enum X<A B C>; enum Q<D E F>; multi infix:« |
From @jnthnOn Wed May 06 06:08:59 2015, masak wrote:
It turns out that this is Yet Another Case of people tripping over the X namespace being the exception one, and lexically hiding the real one from the compiler by declaring their own X that. I've now made the compiler only look for the exceptions it knows about in the setting, thus making the error for this case sane again: $ perl6-m -e "enum X <A>; sub foo(A $a) { True" |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125120 (status was 'resolved')
Searchable as RT125120$
The text was updated successfully, but these errors were encountered: