-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Bad error message for missing end #476
Comments
Would also be useful to print the block opener, maybe? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now the error for missing an
end
in otherwise good code isThe problem here is that the error location reported is just the end of the file (since everything else could be correct up to that point). It would be much better if the error instead (or in addition) pointed to the line requiring an end from which an end was missing since this line will generally be much more useful for figuring out where the missing
end
is supposed to go.The text was updated successfully, but these errors were encountered: