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
Newline Before Commas Results in 'Bogus Statement' Error #4952
Comments
From @zoffixznetIn the output below, you can see that inserting a new line before the comma results in an error. Mentioned it here too: http://irclog.perlgeek.de/perl6/2015-12-30#i_11804178 <ZoffixW> m: my @c = ( [{foo => 'bar'},],); |
From @zoffixznetRejecting as per: "<lucasb> ZoffixW: newline after "}" ends the statement" |
@zoffixznet - Status changed from 'new' to 'rejected' |
From @timoIsn't this just about "a line ending in } gets a ; for free"? |
From @lizmat
I concur with timotimo, this is ENOTABUG, but a WAT! A closing brace at the end of a line (with or without whitespace) is equivalent to a ; *ALWAYS*. And thus the statement becomes bogus. Can be closed afaiac . Liz |
Migrated from rt.perl.org#127091 (status was 'rejected')
Searchable as RT127091$
The text was updated successfully, but these errors were encountered: