Skip to content

Commit

Permalink
Wordwrap X::Placeholder::Block message
Browse files Browse the repository at this point in the history
And slightly reword it
  • Loading branch information
lizmat committed Jul 7, 2020
1 parent 98c7e51 commit 248664c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/Exception.pm6
Expand Up @@ -993,7 +993,7 @@ my class X::Signature::Placeholder does X::Comp {
my class X::Placeholder::Block does X::Comp {
has $.placeholder;
method message() {
"Placeholder variable $.placeholder may not be used here because the surrounding block takes no signature";
"Placeholder variable '$.placeholder' may not be used here because the surrounding block does not take a signature.".naive-word-wrapper;
}
}

Expand Down

0 comments on commit 248664c

Please sign in to comment.