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
LTA error message with malformed loops #4391
Comments
From @AlexDanielCode: Result: This error message could be better. Currently it is a bit confusing and ===SORRY!=== Error while compiling ./test.pl STD does a much better job at detecting the actual problem and says IRC log: http://irclog.perlgeek.de/perl6/2015-07-10#i_10879185 |
From @masakalex (>):
Interesting failure mode. That semicolon looks unnecessary but harmless to me. (It's of the "statement-ending" kind, not the "statement-separating" kind that Perl usually uses.) I wonder if it couldn't be possible to parse it correctly, but warn about "useless semicolon". As a further data point, Perl 5 also parsefails on the corresponding code: $ perl -Mstrict -wE'for (my $i = 0; $i < 10; $i++;) { say $i }' |
The RT System itself - Status changed from 'new' to 'open' |
From @jnthnOn Fri Jul 10 17:06:45 2015, alex.jakimenko@gmail.com wrote:
Error message now in line with STD, and test added in S32-exceptions/misc.t. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125595 (status was 'resolved')
Searchable as RT125595$
The text was updated successfully, but these errors were encountered: