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
Fwd: [rakudo] patch for better message when wrong syntax used for named parameter #1807
Comments
From @cognominalApparently sending to bitbucket is equivalent to >/dev/null ---------- Forwarded message ---------- bash-3.2$ perl6
bash-3.2$ git diff src/Perl6/Actions.pm Inline Patchdiff --git a/src/Perl6/Actions.pm b/src/Perl6/Actions.pm
index c5bbf63..6e892a4 100644
--- a/src/Perl6/Actions.pm
+++ b/src/Perl6/Actions.pm
@@ -1561,7 +1561,12 @@ method param_var($/) {
}
}
elsif $twigil ne '!' && $twigil ne '.' && $twigil ne '*' {
- $/.CURSOR.panic("Illegal to use $twigil twigil in signature");
+ my $error := "In signature parameter, '" ~ ~$/ ~ "', it
-- -- |
From @moritzThanks for the patch, applied as b258f5cc1633c4aa5035a3e5ba4c4dd076d50ee2. |
The RT System itself - Status changed from 'new' to 'open' |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#75588 (status was 'resolved')
Searchable as RT75588$
The text was updated successfully, but these errors were encountered: