Skip to content

Instantly share code, notes, and snippets.

@frenchy64
Created June 21, 2015 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frenchy64/3d44d0c6e0cbb46ab34a to your computer and use it in GitHub Desktop.
Save frenchy64/3d44d0c6e0cbb46ab34a to your computer and use it in GitHub Desktop.
bad error message
Type Error (rdp_214/bar.clj:37:9) Polymorphic function (new clojure.lang.LazySeq (fn* ([] (do :clojure.core.typed.special-form/special-form :clojure.core.typed/loop {:ann (quote {:params [{:type (clojure.core.typed/Option #)}]})} (loop* [s__29299 s__29299] (let* [temp__4423__auto__ (clojure.core/seq s__29299)] (if temp__4423__auto__ (do (let* [s__29299 temp__4423__auto__] (if # # #)))))))))) could not be applied to arguments:
Polymorphic Variables:
x
Domains:
[-> (t/Option (Seqable x))]
Arguments:
[-> (t/U (t/I (java.util.Collection (t/U (t/I (java.util.Collection (t/HVec [Long Long])) (ISeq (t/HVec [Long Long])) (java.util.List (t/HVec [Long Long])) (Iterable (t/HVec [Long Long])) IObj Sequential) (t/HVec [Long Long]))) (ISeq (t/U (t/I (java.util.Collection (t/HVec [Long Long])) (ISeq (t/HVec [Long Long])) (java.util.List (t/HVec [Long Long])) (Iterable (t/HVec [Long Long])) IObj Sequential) (t/HVec [Long Long]))) (java.util.List (t/U (t/I (java.util.Collection (t/HVec [Long Long])) (ISeq (t/HVec [Long Long])) (java.util.List (t/HVec [Long Long])) (Iterable (t/HVec [Long Long])) IObj Sequential) (t/HVec [Long Long]))) (Iterable (t/U (t/I (java.util.Collection (t/HVec [Long Long])) (ISeq (t/HVec [Long Long])) (java.util.List (t/HVec [Long Long])) (Iterable (t/HVec [Long Long])) IObj Sequential) (t/HVec [Long Long]))) IObj Sequential) (Seqable (t/I (t/I (t/I IObj (java.util.List (t/HVec [Long Long]))) (ISeq (t/HVec [Long Long]))) Sequential)) nil)]
Ranges:
(LazySeq x)
with expected type:
(t/Seq (t/ASeq (t/HVec [Long Long])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment