Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Use parentheses to make evaluation order explicit when needed.
| `\|\|` |
| Assignment | `=` `+=` `-=` `*=` `/=` `%=`

`<\<=` `>>=` `&=` `^=` `\|=` | Second line not yet supported.
`<<=` `>>=` `&=` `^=` `\|=` | Shift and bitwise compound assignment operators are not supported.
|===

== Associativity
Expand Down Expand Up @@ -67,6 +67,16 @@ Write them with logical conjunctions instead:
let in_range = a < b && b < c;
----

== Chained equality

Chained equality such as `a == b == c` is not supported.
Write it with logical conjunctions instead:

[source,cairo]
----
let all_equal = a == b && b == c;
----

== Related

- xref:operator-expressions.adoc[Operator expressions]
Expand Down