Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by
Type inference is improving. We can add a check to see if {{nil?}} is being applied to an expression of type {{clj-nil}} and warn, and likewise we can check if it is being applied to a type that cannot be {{clj-nil}} and also warn.

(One thing that could preclude this sort of thing is nil checks in tests.)

2 Answers

0 votes
by

Comment made by: mfikes

This effort needs CLJS-3085

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-2871 (reported by mfikes)
...