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

Activity

Show:
Mike Fikes
May 16, 2019, 1:46 PM

This effort needs CLJS-3085

Assignee

Unassigned

Reporter

Mike Fikes

Labels

None

Approval

None

Patch

None

Priority

Major
Configure