-
Notifications
You must be signed in to change notification settings - Fork 220
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
lsp panics when contract with #[event] #4203
Labels
bug
Something isn't working
Comments
5 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Jan 31, 2024
# Description ## Problem\* Resolves <!-- Link to GitHub Issue --> lsp panics when contract with #[event] #4203 ## Summary\* Replaces .expect calls with err returns. ## Additional Context ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: jfecher <jake@aztecprotocol.com>
Closing as done because the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aim
Open noir source file with contract which uses events
Expected Behavior
LSP to function as usual
Bug
lsp crashes with
method not found
To Reproduce
#[event]
Installation Method
Compiled from source
Nargo Version
nargo version = 0.23.0 (git version hash: 882639d, is dirty: false)
Additional Context
Sample snippet
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered: