planck 2018-10-30

Thanks for the setup instructions.

$ script/build -R:cljs/dev --fast
make: *** No targets specified and no makefile found.  Stop.
Build Failed.

I’m getting that error now btw. Do I need to give an extra arg?

I installed cmake before this step, which was missing

@borkdude perhaps a script/clean first will straighten things out

seems to work

is this something I should care about?

ld: warning: text-based stub file /System/Library/Frameworks//JavaScriptCore.framework/JavaScriptCore.tbd and library file /System/Library/Frameworks//JavaScriptCore.framework/JavaScriptCore are out of sync. Falling back to library file for linking.

planck compiled and works now btw

I started seeing that as well with the latest macOS. Googling for it didn’t seem to clarify what is causing it. It seems to be an innocuous warning as far as I can tell.

ok:

$ plk
ClojureScript 0.0.139042618
cljs.user=>

but:

$ clj -A:test:clj-tests

Running tests in #{"test"}

Testing speculative.core-test
generatively testing  clojure.core/str
((:spec :clojure.spec.test.check/ret :sym))
({:result true, :pass? true, :num-tests 20, :time-elapsed-ms 60, :seed 1540937561398})
generatively testing  clojure.core/=
((:spec :clojure.spec.test.check/ret :sym))
({:result true, :pass? true, :num-tests 20, :time-elapsed-ms 25, :seed 1540937561476})
vs
$ plk -A:test:plk-tests
...
Testing speculative.test-test

Testing speculative.core-test
generatively testing  cljs.core/=
((:spec :clojure.test.check/ret :sym))
(nil)
generatively testing  cljs.core/str
((:spec :clojure.test.check/ret :sym :failure))
(nil)

Ran 21 tests containing 82 assertions.

I notice the difference. in clj the key is :clojure.spec.test.check/ret but in cljs it’s :clojure.test.check/ret.

any reason for the difference?

Could be a bug in the compiler

maybe a typo

If reporting it, repro with cljs.main (not Planck)

will do. thanks