New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enum name as type constraint is unreasonably strict #1788
Comments
From @moritzNot sure if this should work: 09:39 < isBEKaml> rakudo: enum somenum <a b c d e>; my somenum $temp = But this should work for sure: 09:39 <@moritz_> rakudo: enum somenum <a b c d e>; my somenum $temp = d; |
@coke - Status changed from 'new' to 'open' |
From @cokeOn Thu May 27 00:44:18 2010, moritz wrote:
Still don't know if the first one should work, but the second one does 15:27 < [Coke]> rakudo: enum somenum <a b c d e>; my somenum $temp = 3; -- |
From @cokeOn Fri Oct 14 12:30:57 2011, coke wrote:
Hearing no objection, closable with tests. -- |
From @usev6stmuk added a test for this recently: Raku/roast@b4fc0fe I moved the test from S02-names/75370.t to S12-enums/basic.t (which is in 't/spectest.data'). |
1 similar comment
From @usev6stmuk added a test for this recently: Raku/roast@b4fc0fe I moved the test from S02-names/75370.t to S12-enums/basic.t (which is in 't/spectest.data'). |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#75370 (status was 'resolved')
Searchable as RT75370$
The text was updated successfully, but these errors were encountered: