Permalink
Browse files

clean up error message

  • Loading branch information...
1 parent 044434b commit a1342d49067964858189e188afacc18edf59a345 @frenchy64 frenchy64 committed Sep 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/clojure/clojure/core/typed/parse_unparse.clj
@@ -654,10 +654,10 @@
(let [all-dom (take-while #(not= '-> %) f)
[_ rng & opts-flat :as chk] (drop-while #(not= '-> %) f) ;opts aren't used yet
_ (when-not (<= 2 (count chk))
- (u/int-error (str (parse-in-ns) ": Incorrect function syntax: " f)))
+ (u/int-error (str "Incorrect function syntax: " f)))
_ (when-not (even? (count opts-flat))
- (u/int-error (str (parse-in-ns) ": Incorrect function syntax, must have even number of keyword parameters: " f)))
+ (u/int-error (str "Incorrect function syntax, must have even number of keyword parameters: " f)))
opts (apply hash-map opts-flat)

0 comments on commit a1342d4

Please sign in to comment.