noir-clojure / lib-noir

A set of libraries for ring apps, including stateful sessions.
Eclipse Public License 1.0
483 stars 47 forks source link

CompilerException when trying to use lib-noir 0.9.5 #111

Open limist opened 9 years ago

limist commented 9 years ago

After updating my defproject to start using [lib-noir "0.9.5"]and then invoking lein clean; lein repl I'm seeing the following error:

#<CompilerException java.lang.IllegalArgumentException: Unable to resolve classname: clojure.core$boolean@67153b, compiling:(noir/util/crypt.clj:72:3)>

Looks like the boolean call was introduced in https://github.com/noir-clojure/lib-noir/commit/a547a33b23d9ea684833c693fa049a4732d02aa4

But it's surprising nonetheless, since boolean is a core function, and also, this kind of error should've blocked jar compilation. The error goes away if the lib-noir version is rolled back to 0.9.4 or 0.9.3.

Anyone else seeing this error? Thanks!

yogthos commented 9 years ago

Hmm, have you tried doing lein clean, there might be some compiled classes lingering around.

limist commented 9 years ago

Yes, I tried lein clean several times. :)

yogthos commented 9 years ago

that's pretty weird, boolean should be in the standard lib