stmuk added a test for this recently:
https://github.com/perl6/roast/commit/b4fc0fe9f11bb34e4442da7e1f945e8740d07c7c
I moved the test from S02-names/75370.t to S12-enums/basic.t (which is in
't/spectest.data').
On Fri Oct 14 12:30:57 2011, coke wrote:
> On Thu May 27 00:44:18 2010, moritz wrote:
> > Not sure if this should work:
> >
> > 09:39 < isBEKaml> rakudo: enum somenum ; my somenum $temp =
> > 3; say $temp.key;
> > 09:39 <+p6eval> rakudo 982e8e: OUTPUT«Type check failed for
> > assignmentcurrent
On Thu May 27 00:44:18 2010, moritz wrote:
> Not sure if this should work:
>
> 09:39 < isBEKaml> rakudo: enum somenum ; my somenum $temp =
> 3; say $temp.key;
> 09:39 <+p6eval> rakudo 982e8e: OUTPUT«Type check failed for
> assignmentcurrent instr.: '&die' pc 18373
(src/builtins/Junction.pir:37
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #75370]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75370 >
Not sure if this should work:
09:39 < isBEKaml> rakudo: enum somenum ; my somenum $temp