Skip to content

Commit

Permalink
Wordwrap X::Dynamic::Package message
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jul 5, 2020
1 parent cd8846a commit 83a126b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/Exception.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ my class X::Dynamic::Postdeclaration does X::Comp {
my class X::Dynamic::Package does X::Comp {
has $.symbol;
method message() {
"Dynamic variables cannot have package-like names, like $!symbol"
"Dynamic variables cannot have package-like names (with '::'), so '$!symbol' is not allowed.".naive-word-wrapper
}
}

Expand Down

0 comments on commit 83a126b

Please sign in to comment.