Skip to content
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

error message says that a block is missing when in fact a curly brace is not there ({) #5881

Open
p6rt opened this issue Dec 12, 2016 · 1 comment
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Dec 12, 2016

Migrated from rt.perl.org#130331 (status was 'new')

Searchable as RT130331$

@p6rt
Copy link
Author

p6rt commented Dec 12, 2016

From @AlexDaniel

Code​:
{

Result​:
===SORRY!=== Error while compiling -e
Missing block
at -e​:4
------> <BOL>⏏<EOL>

First of all, it is a closing curly brace that is missing, not a block. If you add another block, it won't solve the problem.

Also, it probably should not complain on an empty line.

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant