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
Cairo 0.9.1 introduced support for and in if statements (if x == y and z == w). And running Amarna on a contract using such statement will fail:
Could not parse contract.cairo: Unexpected token Token('IDENTIFIER', 'and') at line 1158, column 31.
Expected one of:
* LBRACE
* DOT
* SLASH
* LPAR
* LSQB
* MINUS
* COLON
* STAR
* PLUS
* _DBL_STAR
The text was updated successfully, but these errors were encountered:
Cairo 0.9.1 introduced support for
and
inif
statements (if x == y and z == w
). And running Amarna on a contract using such statement will fail:The text was updated successfully, but these errors were encountered: