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
fails with ::MySig ::= :(Num, Str) #809
Comments
From amoc.yn@gmail.com<amoc> rakudo: my ::MyType ::= :(Num, Str) <amoc> rakudo: ::MyType ::= :(Num, Str) <amoc> rakudo: ::MyType := Int <jnthn> rakudo: ::MyType := Int; my MyType $x = 42; say "ok"; $x = "OMG"; but from: http://perlcabal.org/syn/S02.html#Names_and_Variables A signature object (Signature) may be created with colon-prefixed parens: |
@coke - Status changed from 'new' to 'open' |
From @bbkrNOM bbkr:nom bbkr$ ./perl6 -e 'my ::MyType ::= :(Num, Str)' |
From @moritzIt now parse-errors as it should, and not with an internal error message |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#64022 (status was 'resolved')
Searchable as RT64022$
The text was updated successfully, but these errors were encountered: