Tensegritics / ClojureDart

Clojure dialect for Flutter and Dart
1.41k stars 90 forks source link

Reorder test expression with false/null. #302

Closed jolby closed 7 months ago

jolby commented 7 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.