Fork me on GitHub

FYI, with Clojure 1.9.0 Alpha 16, in a bare boot repl (outside a project), I see this odd behavior:

boot.user=> (doc pr-str)
([& xs])
  pr to a string, returning it

java.lang.ClassNotFoundException: clojure.spec.alpha$get_spec
  java.lang.NoClassDefFoundError: clojure/spec/alpha$get_spec
Can anyone else repro? (and, clearly, it is available since I can require that ns and use the function just fine — this seems like an AOT-related glitch?)


Ah, interesting. I haven’t noticed any other problems with Alpha 16 in regular application contexts. Yet.


This is the same problem and is basically a problem with mixing source and AOT compiled code (CLJ-1544). I released a new version of spec.alpha that should fix it (by AOT compiling spec). The new version is 0.1.108.


Thanks @alexmiller -- we'll have to explicitly rely on that to solve the problem? Until Alpha 17 of core?


I can confirm that boot -d org.clojure/spec.alpha:0.1.108 repl does indeed not show that problem!