[perl #75370] Enum name as type constraint is unreasonably strict

2014-09-30 Thread Christian Bartolomaeus via RT
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').

[perl #75370] Enum name as type constraint is unreasonably strict

2014-02-25 Thread Will Coleda via RT
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 > > assignment␤current

[perl #75370] Enum name as type constraint is unreasonably strict

2011-10-14 Thread Will Coleda via RT
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 > assignment␤current instr.: '&die' pc 18373 (src/builtins/Junction.pir:37

[perl #75370] Enum name as type constraint is unreasonably strict

2010-05-27 Thread via RT
# 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