Re: [perl #125441] Less than awesome diagnostic in enum/class name collision

2015-06-21 Thread Elizabeth Mattijsen
Hmmm… I’m getting: $ 6 'enum Error ( Metadata => -20); class Metadata { }' ===SORRY!=== Error while compiling -e Redeclaration of symbol Metadata at -e:1 --> Error ( Metadata => -20); class Metadata⏏ { } expecting any of: generic role as expected? $ perl6 --version This is perl6

[perl #125441] Less than awesome diagnostic in enum/class name collision

2015-06-20 Thread via RT
# New Ticket Created by Jonathan Stowe # Please include the string: [perl #125441] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125441 > The following example: enum Error ( Metadata => -20); class Metadata { } gives rise