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
I've also encountered this error when compiling code that contains only warnings:
fn main() {
assert true;
}
Here, the warning for the deprecated keyword constrain causes the check function to return the warning in the error list, and when nargo_cli sees this it maps all errors to CompilationError and discards them without reporting them.
After some more testing, it seems this is triggered for all errors or warnings and prevents them from being reported.
jfecher
changed the title
"Failed to compile circuit" when compiling code with unit values
"Failed to compile circuit" and no errors shown when compiling code with any errors or warnings
Jun 14, 2023
Aim
Tried to run
nargo prove --experimental-ssa
on the codeExpected Behavior
Expected the code to compile and prove
Bug
The compiler errors with the only output being
The text was updated successfully, but these errors were encountered: