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
Strange type error when using lexical regexes in a method #3192
Comments
From @hoelzroUsing a lexical regex in a method fails with a strange error: Nominal type check failed for parameter ''; expected HasMethod but got The attached file includes examples. |
From @hoelzrouse v6; sub parse(Str $input) { if $input ~~ /<anything>/ { class HasSub { if $input ~~ /<anything>/ { method call-parse-sub(Str $input) { class HasSubMethod { if $input ~~ /<anything>/ { class HasMethod { if $input ~~ /<anything>/ { my @forms = ( for @forms -> $form { |
From @FROGGSFixed at: rakudo/rakudo@57a08ad |
@FROGGS - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#118985 (status was 'resolved')
Searchable as RT118985$
The text was updated successfully, but these errors were encountered: