On Wed, Jul 30, 2008 at 10:50:32PM -0700, Carl Mäsak wrote: > $ svn info | grep vi > > $ ./perl6 -e 'enum Weekday<Monday Tuesday>; say Tuesday.WHAT' > Null PMC access in find_method() > [...]
This is likely related to RT #57450, in that it's not clear how enums should report their type or .perl representation. Since S12 (currently) says that things like C<Weekday> are really role names and the enum values are subset types, I would somewhat expect C<Tuesday.WHAT> to return the C<Int> protoobject. But as with #57450, we probably need confirmation or clarification of this from p6l. Thanks! Pm