Tensegritics / ClojureDart

Clojure dialect for Flutter and Dart
1.43k stars 91 forks source link

Reorder test expression with false/null. #302

Closed jolby closed 9 months ago

jolby commented 9 months ago

If the type of the result of the test expression has overridden the == operator with a type in the signature, a TypeException can be thrown. This change ensures we use the == operator implementation of the false/nil objects, which will not throw an exception.