Skip to content

Commit

Permalink
Avoid a warning while producing an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 29, 2015
1 parent 76d4cf3 commit e52a889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -3066,7 +3066,7 @@ Compilation unit '$file' contained the following violations:
my $prev_returns := $sig.returns;
$*W.throw($*OFTYPE, 'X::Redeclaration',
what => 'return type for',
symbol => $code,
symbol => $code.name,
postfix => " (previous return type was "
~ $prev_returns.HOW.name($prev_returns)
~ ')',
Expand Down

0 comments on commit e52a889

Please sign in to comment.