Skip to content
Merged
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 @@ -48,6 +48,16 @@ Write them with an explicit conjunction instead:
let in_range = a < b && b < c;
----

Mixed consecutive comparison/equality operators are also not supported, for example
`a < b == c` or `a == b < c`.
Make the intent explicit with conjunctions or parentheses:

[source,cairo]
----
let in_range_and_equal = a < b && b == c;
let bool_comparison = (a < b) == expected;
----

== Examples

=== Primitives
Expand Down
Loading