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
Compound assignment doesn't need to be implemented for signals, that's handled as an error by circom, eg:
error[T2000]: Typing error found
┌─ "./src/assets/circuit.circom":173:5
│
173 │ y += x;
│ ^^^^^^ The operator does not match the types of the assigned elements.
Assignments to signals do not allow the operator =, try using <== or <-- instead
Error: AnalysisError
The text was updated successfully, but these errors were encountered:
Eg when running this program:
We get:
Compound assignment doesn't need to be implemented for signals, that's handled as an error by circom, eg:
The text was updated successfully, but these errors were encountered: