plumatic / plumbing

Prismatic's Clojure(Script) utility belt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when using plumbing from clojurescript

EwenG opened this issue · comments

Hi,

I am trying to use plumbing 0.3.1 from clojurescript but I get the following error when compiling cljs with lein-cljsbuild:

Caused by: clojure.lang.ExceptionInfo: java.lang.RuntimeException: No such namespace: js, compiling:(schema/core.clj:135:5) at line 1 file:/home/.m2/repository/prismatic/plumbing/0.3.1/plumbing-0.3.1.jar!/plumbing/fnk/schema.cljs

Here is a sample project to reproduce the error: https://github.com/EwenG/test-plumbing.

Ewen.

Well, that's not good. It seems we're macroexpanding ClojureScript code into Clojure. Thanks for the repro project, and I'll look into this ASAP.

I think this is fixed by the 0.3.2 release -- can you please verify when you get a chance? Thanks again for the report and the test project!

It works, thanks !

Sweet, thanks!