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

0 votes
in Clojure by

The name function throws NullPointerException on nil. Since the name function is about obtaining the string form of a specific object it should not throw on nil. It should just return the nil object as the str fn does.

2 Answers

0 votes
by

Comment made by: wagjo

added patch with test

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-1383 (reported by alex+import)
...