Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't mention nameless scalars
  • Loading branch information
lizmat committed Oct 4, 2015
1 parent efbd9ca commit b14723d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Expand Up @@ -1702,7 +1702,7 @@ my class X::TypeCheck::Assignment is X::TypeCheck {
method operation { 'assignment' }
method message {
self.priors() ~
$.symbol.defined
$.symbol.defined && $.symbol ne '$'
?? "Type check failed in assignment to $.symbol; expected $.expectedn but got $.gotn"
!! "Type check failed in assignment; expected $.expectedn but got $.gotn";
}
Expand Down

0 comments on commit b14723d

Please sign in to comment.