On Tue, 04 Jul 2017 10:29:50 -0700, larry wrote:
> While we could, in theory, do some lookahead to try to suppress this
> warning in some cases

I moved[^1] the warning to the point when we parsed a hyper and are
making AST for it rather than just where we matched the potential end quoter.

So now it still warns for stuff like:

    my $number = <<$string>>[0]; put "Type: " ~ $number;

But no longer warns for cases like:

    my $number = <<$string>>;

Which I think are far more common (e.g. `run «cal $year»`) and there's no hyper 
intended there,
so the warning was fairly annoying.

[1] https://github.com/rakudo/rakudo/commit/d39f7b9aff

Reply via email to