Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make type parameterization fails give location.
Fixes lack of line/file reported in RT #125259.
  • Loading branch information
jnthn committed Jun 23, 2015
1 parent 6f8d25b commit 58f73af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -6107,7 +6107,8 @@ Compilation unit '$file' contained the following violations:
my $longname := $*W.dissect_longname($<longname>);
my $type := $*W.find_symbol($longname.type_name_parts('type name'));
if $<arglist> {
$type := $*W.parameterize_type($type, $<arglist>.ast, $/);
$type := $*W.handle-begin-time-exceptions($/, "parameterizing $str_longname",
{ $*W.parameterize_type($type, $<arglist>.ast, $/) });
}
if $<accept> || $<accept_any> {
if $<typename> {
Expand Down

0 comments on commit 58f73af

Please sign in to comment.