Skip Menu |
Report information
Id: 131360
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 when forgetting the initial curly quote (say hello world’)
Download (untitled) / with headers
text/plain 910b
Code: say hello world’ Result: ===SORRY!=== Error while compiling -e Bogus postfix at -e:1 ------> say hello world⏏’ expecting any of: infix infix stopper postfix statement end statement modifier statement modifier loop The way I see this error message is that it is effectively equivalent to just saying “Confused”. However, in this case it is most likely that somebody forgot to write an initial quote (‘), so the error message can say exactly that. Please note that starting a string literal with ’ is also possible (e.g. say hello ’foo’), so there is a chance that this new error message will be wrong sometimes. I don't know if that would be a problem. This bug report is motivated by this task from the thinkperl6 book: 1. If you are trying to print a string, what happens if you leave out one of the quotation marks, or both?


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