New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backslash at end of file could print better error than "Confused" #3692
Comments
From @TuxWhy is the ; required at EOF? $ perl -lE'say $/' $ perl -lE'say $\' $ perl6 -e 'say $/' -- |
From @smls
It isn't, the parser just got confused because $\ is not valid syntax. In fact that's what the error message says now: ➜ perl6 -e 'say $\' Ticket can be closed once a test is added. |
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielOn Sat May 21 08:48:35 2016, smls75@gmail.com wrote:
Perhaps we should promote it to LTA error message? “Confused” is definitely not very helpful, that's why we have this bug report. A better error message could go like “Confused after encountering unspace” or something. |
From @smls"Confused" together with an arrow pointing to the exact location, is reasonably helpful IMO. At the time the issue was reported, it said "Missing semicolon" which was a weird message to print, and that has been fixed. But you're right, it could be better. "After encountering unspace" may not be quite accurate though... |
From @zoffixznetTests added: Raku/roast@4710138e25 |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123887 (status was 'resolved')
Searchable as RT123887$
The text was updated successfully, but these errors were encountered: