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 range includes leading trivia, instead of just the offending token #841

Open
OmarTawfik opened this issue Feb 21, 2024 · 0 comments
Open

Comments

@OmarTawfik
Copy link
Collaborator

Originally discovered in #840:

Error: Expected OpenParen.
╭─[crates/solidity/testing/snapshots/cst_output/TupleDeconstructionStatement/with_var/input.sol:1:1]
1 │ ╭─▶ // "var" should be disabled in "0.5.0":
2 │ ├─▶ var (foo, bar) = rhs;
│ │
│ ╰─────────────────────────── Error occurred here.
───╯

@Xanewok Xanewok removed their assignment May 17, 2024
@OmarTawfik OmarTawfik assigned OmarTawfik and unassigned OmarTawfik May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ⏳ Todo
Development

No branches or pull requests

2 participants