Skip to content

Commit

Permalink
Make use of ;; in sig a NYI compile error for now
Browse files Browse the repository at this point in the history
This at least prevents #125482 for now.
  • Loading branch information
lizmat committed Jun 25, 2015
1 parent 553f0ea commit 3e1dab7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -2579,7 +2579,12 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
}

rule param_sep {
'' $<sep>=[','|':'|';;'|';'] { @*seps.push($<sep>) }
'' $<sep>=[','|':'|';;'|';']
{
$/.CURSOR.worry("Use of ;; in signature not yet implemented")
if $<sep> eq ';;';
@*seps.push($<sep>);
}
}

# XXX Not really implemented yet.
Expand Down

0 comments on commit 3e1dab7

Please sign in to comment.