Check for redundant nil? checks

Description

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.)

Environment

None

Attachments

1

is blocked by

Activity

Show:

Mike FikesMay 16, 2019 at 1:46 PM

This effort needs CLJS-3085

Details

Assignee

Reporter

Priority

Created August 23, 2018 at 7:43 PM
Updated August 19, 2019 at 9:46 PM