Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

$|++ makes "Bogus statement" error #3

Closed
xfix opened this Issue Sep 15, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Member

xfix commented Sep 15, 2012

In the following example rather common $|++ idiom makes "Bogus statement" error. I think it should report "Unsupported use of" error instead.

glitchmr@strawberry ~/g/std> echo '$|' | ./viv -
===SORRY!===
Unsupported use of $| variable; in Perl 6 please use :autoflush on open at (eval) line 1:
------> $|⏏<EOL>
Parse failed
glitchmr@strawberry ~/g/std> echo '$|++' | ./viv -
===SORRY!===
Bogus statement at (eval) line 1:
------> <BOL>⏏$|++
Parse failed

@TimToady TimToady closed this in a8f1a47 Sep 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment