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
When including the type field in the Nargo.toml, if an invalid value like "circuit" or "binary" are given, the compiler panics and issues an error message that explains the field is incorrect but does not give the possible valid values of the field.
Expected Behavior
The compiler should not panic and should suggest the possible valid values of the field
Bug
Full error message:
Error: Cannot use `circuit` for `type` field in /.../short/Nargo.toml
Location:
crates/nargo_cli/src/cli/mod.rs:74:5
exit 1
To Reproduce
Installation Method
None
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Will do! I want to find a better way for Nargo CLI errors to be written. Something like the error message and then a longer message that contains useful suggestions like this.
Aim
When including the
type
field in theNargo.toml
, if an invalid value like "circuit" or "binary" are given, the compiler panics and issues an error message that explains the field is incorrect but does not give the possible valid values of the field.Expected Behavior
The compiler should not panic and should suggest the possible valid values of the field
Bug
Full error message:
To Reproduce
Installation Method
None
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: