- Allow
===
and!===
in expressions - Improve documentation
- Fix bug with certain operation chains:
compare?(1 < 2 != 3 < 4) #=> true compare?(1 < 2 != 3 > 4) #=> true (wrong!)
- Improve error message and documentation for invalid expressions
- [BREAKING] all branches of
and
,or
andnot
must now contain comparisons- Example:
compare?(1 < 2 and true)
used to be ok but is no longer allowed because the right argument toand
doesn't contain a comparison.
- Example:
- Warn when
compare?/1
is used on a struct
- Allow
==
and!=
in expressions - Allow
Elixir >= 1.13.0
Macro.prewalker
was introduced in1.13.0
- Allow
not
in expressions
- Initial release