Permalink
Browse files

ex-info message is nilable. Add ex-data annotation

  • Loading branch information...
frenchy64 committed Mar 14, 2014
1 parent 779d0d4 commit 926c5a140ecbe33d9ebb5efb37c98d87209121f3
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/main/clojure/clojure/core/typed/base_env.clj
@@ -1842,8 +1842,11 @@ clojure.core/rand (Fn [-> Number]
clojure.core/rand-int [Int -> Int]
-clojure.core/ex-info (Fn [String (Map Any Any) -> clojure.lang.ExceptionInfo]
- [String (Map Any Any) (U nil Throwable) -> clojure.lang.ExceptionInfo])
+clojure.core/ex-info (Fn [(U nil String) (Map Any Any) -> clojure.lang.ExceptionInfo]
+ [(U nil String) (Map Any Any) (U nil Throwable) -> clojure.lang.ExceptionInfo])
+
+clojure.core/ex-data (Fn [clojure.lang.ExceptionInfo -> (Map Any Any)]
+ [Any -> (U nil (Map Any Any))])
;; START CHUNK HACKS

0 comments on commit 926c5a1

Please sign in to comment.