nargo fmt
crashes when a comment prefixed with "//" is followed by comment prefixed with "///"
#7045
Labels
bug
Something isn't working
Bug
The following code:
makes the formatter crash with:
but when I add there the slash:
it compiles fine.
To Reproduce
Either copy the code above or check out
janb/nargo-fmt-crash
of aztec-packages, go tonoir-projects/noir-protocol-circuits
and runnargo fmt
.Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Nargo Version
% nargo --version nargo version = 1.0.0-beta.1 noirc version = 1.0.0-beta.1+1f5810123232c833 (git version hash: 1f5810123232c833, is dirty: false)
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: