diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/clj/clojure/boot.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/boot.clj b/src/clj/clojure/boot.clj index 6dcbc1e3..0d00e017 100644 --- a/src/clj/clojure/boot.clj +++ b/src/clj/clojure/boot.clj @@ -2429,7 +2429,7 @@ not-every? (comp not every?)) (defn class "Returns the Class of x" - [#^Object x] (. x (getClass))) + [#^Object x] (if (nil? x) x (. x (getClass)))) (defn slurp "Reads the file named by f into a string and returns it." |