Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a typehint

  • Loading branch information...
commit cc83eb5e45f6d42242dcaaaeec405f62f0030b2c 1 parent e839a4e
@amalloy amalloy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/useful/utils.clj
View
2  src/useful/utils.clj
@@ -12,7 +12,7 @@
"Raise exception unless test returns true."
[test exception]
`(when-not ~test
- (throw (fix ~exception string? #(Exception. %)))))
+ (throw (fix ~exception string? #(Exception. ^String %)))))
(def ^{:doc "The minimium value of vals, ignoring nils."
:arglists '([& args])}
Please sign in to comment.
Something went wrong with that request. Please try again.