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
Nil type constraint yields bad error message #4542
Comments
From zefram@fysh.org$ perl6 -e 'my Nil $a = 3' It is correct to get an error of this general type, but the message $ perl6 -e 'sub aa (Nil $a) { }; my $b = 3; aa($b)' I have some suspicion that this faulty message is a result of the $ perl6 -e 'my $a = Nil; say $a.perl' -zefram |
From @usev6The error messages correctly mention Nil now: $ perl6 -e 'my Nil $a = 3' $ perl6 -e 'sub aa (Nil $a) { }; my $b = 3; aa($b)' I added two tests to S32-exceptions/misc.t with commit Raku/roast@3fe83cf8dc I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6The error messages correctly mention Nil now: $ perl6 -e 'my Nil $a = 3' $ perl6 -e 'sub aa (Nil $a) { }; my $b = 3; aa($b)' I added two tests to S32-exceptions/misc.t with commit Raku/roast@3fe83cf8dc I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#126091 (status was 'resolved')
Searchable as RT126091$
The text was updated successfully, but these errors were encountered: