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
Less than awesome diagnostic in enum/class name collision #4334
Comments
From @jonathanstoweThe following example: enum Error ( Metadata => -20); class Metadata { } gives rise to: ===SORRY!=== Without any mention of in what or a possible reason why. In a larger enum I had to progressively comment bits out until I saw the problem. Not a biggy though. |
From @jnthnOn Sat Jun 20 02:46:16 2015, jns+bc@gellyfish.co.uk wrote:
Now complains much more sensibly: $ perl6-m -e "enum Error ( Metadata => -20); class Metadata { }" Test added in S32-exceptions/misc.t. |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
From @lizmatHmmm… I’m getting: $ 6 'enum Error ( Metadata => -20); class Metadata { }' as expected? $ perl6 --version Liz
|
Migrated from rt.perl.org#125441 (status was 'resolved')
Searchable as RT125441$
The text was updated successfully, but these errors were encountered: