# New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
# Please include the string:  [perl #132239]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132239 >


See https://rt.perl.org/Ticket/Display.html?id=125641 for the history of this 
problem.

This ticket is about this particular case:

perl6 -e 'my $x = q:to/foo/;
blah
'
===SORRY!=== Error while compiling -e
Ending delimiter foo not found
at -e:3
------> <BOL>⏏<EOL>
    expecting any of:
        whitespace


Arguably it shouldn't be hard to find “foo” in your code, but in some cases it 
may be more obscure. We can do better by mentioning where this construct was 
started, like we do in other cases:
perl6 -e '

(

'
===SORRY!=== Error while compiling -e
Unable to parse expression in parenthesized expression; couldn't find final ')' 
(corresponding starter was at line 3)
at -e:5
------> <BOL>⏏<EOL>


Also, it should either omit “expecting any of” section, or do something useful 
there.

Reply via email to