Skip Menu |
Report information
Id: 130261
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [LTA] Error message for unclosed curly quote points to the last line of the file
Download (untitled) / with headers
text/plain 725b
Code: say ‘hello'; say 42; say 50; Result: ===SORRY!=== Error while compiling -e Unable to parse expression in smart single quotes; couldn't find final "’" at -e:3 ------> say 50;⏏<EOL> expecting any of: argument list smart single quotes term While the error message is right, it would be better if it also printed some information on where the initial curly quote is. As an example, see what happens if you try to do the same thing with a multiline comment (RT #125247): Code: say #`‘hello'; say 42; say 50; Result: ===SORRY!=== Error while compiling -e Couldn't find terminator ’ (corresponding ‘ was at line 1) at -e:3 ------> say 50;⏏<EOL> expecting any of: ’


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org