-
Notifications
You must be signed in to change notification settings - Fork 73
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
Unbalanced parenthesis cause unclear error message #586
Comments
@axic isn't this an issue that a linter should catch? |
Yes, incorrect syntax is not something in the scope of this tool. |
The main question with these issues is a clear goal/expectation detailed in the README:
(Please note that with the compiler has changed syntax numerous times, and most tools try to support the superset of syntax it ever supported.)
It would be nice to have this decision documented in the README 🙂 Disclaimer: I work on the Solidity compiler. |
Same comment as here, but I agree with this:
Clarifying in the README that invalid code (that is, code that cannot be parsed) doesn't work makes sense. Let's keep this one open until we do that. |
results in
My reasoning for including this here is the same as in #585, let me know if these reports should not be made here, or if they are not useful.
The text was updated successfully, but these errors were encountered: