You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running nargo fmt works. Note that nargo build works.
Bug
warning: unused function foo
┌─ src/main.nr:1:4
│
1 │ fn foo {
│ --- unused function
│
$ nargo fmt
The application panicked (crashed).
Message: Expected token LeftParen, got: LeftBrace
Location: tooling/nargo_fmt/src/formatter.rs:193
This is a bug. We may have already fixed this in newer versions of Nargo so try searching for similar issues at https://github.com/noir-lang/noir/issues/.
If there isn't an open issue for this bug, consider opening one at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml
Aim
Format:
Expected Behavior
Running
nargo fmt
works. Note thatnargo build
works.Bug
To Reproduce
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Nargo Version
7311d8c
NoirJS Version
No response
Proving Backend Tooling & Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: