# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #57446]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57446 >


$ svn info | grep Revi
Revision: 29902

$ ./perl6 -e 'enum Weekday<Monday Tuesday>;' # works
$ ./perl6 -e 'enum Weekday<Monday>;' # doesn't
get_pmc_keyed() not implemented in class 'Perl6Str'
[...]

Likewise,

$ ./perl6 -e 'enum <A B C>' # works
$ ./perl6 -e 'enum <A>' # doesn't
get_pmc_keyed() not implemented in class 'Perl6Str'
[...]

It might be that enums of only one element are so degenerate that they
are disallowed syntactically, but I don't see are reason for that.
Even in that case, it's the wrong error.

Reply via email to