On Sat Mar 07 11:20:29 2009, moritz wrote: > Rakudo is too strict while parsing enum expressions: > > 20:18 <@moritz_> rakudo: say enum Foo ('foo', 'bar') > 20:19 < p6eval> rakudo f6cdf9: OUTPUT«Statement not terminated properly > at line > 1, near "('foo', 'b"current instr.: > 'parrot;PGE;Util;die' pc > 129 (runtime/parrot/library/PGE/Util.pir:83)» > > only the form with <...> seems to work. > A very simple test is in t/spec/S12-enums/basic.t. > Latest Rakudo handles this just fine. I didn't see a test for the parens form in basic.t though, so I added a few.
Thanks, Jonathan