Copied from the Clojure mailing list
----------------------------------------------------

I am seeing the following errors in CLJS, but not in CLJ:

ERROR in (dotest-line-695) (schema/core.js:33:64)
expected: (clojure.core/= (t/thru 9) (t/glue-rows data))
  actual: #object[Error Error: No protocol method Schema.spec defined for
type undefined: ]


The errors disappear if I remove Plumatic Schema elements of the function
definition:

; this one produces the error in clojurescript (clojure runs fine)
(s/defn glue-rows  :- tsk/List
  [coll-2d :- tsk/List]
...

; this one works fine in both clojure and clojurescript
(s/defn glue-rows  :- tsk/List
  [coll-2d :- tsk/List]
...


Any clues as to the cause of this behavior?
Alan

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to