You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
p6rt
added
the
LTA
Less Than Awesome; typically an error message that could be better
label
Jan 5, 2020
Migrated from rt.perl.org#131360 (status was 'new')
Searchable as RT131360$
The text was updated successfully, but these errors were encountered: