Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve X::Syntax::Adverb error message
  • Loading branch information
MadcapJake committed Dec 4, 2015
1 parent 6779524 commit bb93bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -5824,7 +5824,7 @@ Compilation unit '$file' contained the following violations:
$/.CURSOR.typed_panic('X::Syntax::Adverb', what => $target.name);
}
else {
$/.CURSOR.typed_panic('X::Syntax::Adverb')
$/.CURSOR.typed_panic('X::Syntax::Adverb', what => ~$/[0]);
}
}
my $cpast := $<colonpair>.ast;
Expand Down

0 comments on commit bb93bd7

Please sign in to comment.