Details
Assignee
UnassignedUnassignedReporter
Timothy BaldridgeTimothy BaldridgeApproval
TriagedPriority
MajorAffects versions
Details
Details
Assignee
Unassigned
UnassignedReporter
Timothy Baldridge
Timothy BaldridgeApproval
Triaged
Priority

Affects versions
Created December 4, 2015 at 7:16 PM
Updated July 10, 2017 at 8:09 PM
After CLJ-1232 was committed to master, it is possible for the Clojure compiler to throw a NPE if a defn is type hinted with a invalid type. This surfaces in CLJS where the defn macro is re-used by the ClojureScript compiler, but I think it raises the question: "Should a bad type hint result in a compiler exception?"
The offending line can be found here on GitHub: https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L247