This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-20
Channels
- # beginners (43)
- # boot (44)
- # chestnut (17)
- # cider (78)
- # cljs-dev (24)
- # cljsrn (16)
- # clojure (84)
- # clojure-dusseldorf (1)
- # clojure-italy (21)
- # clojure-losangeles (2)
- # clojure-russia (140)
- # clojure-sg (2)
- # clojure-spec (8)
- # clojure-uk (16)
- # clojurescript (23)
- # cursive (7)
- # datascript (1)
- # datomic (18)
- # docker (20)
- # ethereum (1)
- # fulcro (16)
- # garden (4)
- # graphql (27)
- # hoplon (9)
- # jobs (4)
- # luminus (34)
- # off-topic (6)
- # om (4)
- # onyx (35)
- # pedestal (3)
- # re-frame (24)
- # ring-swagger (15)
- # rum (6)
- # shadow-cljs (22)
- # spacemacs (8)
- # specter (22)
- # yada (7)
I have a problem with (cljs.spec.test.alpha/check 'my-ns)
in self-host (`lumo`) and I was wondering if there is any known issue/not ported feature there
@richiardiandrea do you have test.check
on your classpath
yep org/clojure/test.check/0.10.0-alpha2/test.check-0.10.0-alpha2.jar
but I tried with the 0.9.0
as well, I get a weird arity error
Cannot read property 'cljs$core$IFn$_invoke$arity$1' of undefined
Function.cljs.spec.test.alpha$macros.check.cljs$core$IFn$_invoke$arity$4 (evalmachine.<anonymous>:733:94)
Function.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6 (NO_SOURCE_FILE <embedded>:774:131)
Function.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5 (NO_SOURCE_FILE <embedded>:773:205)
Function.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4 (NO_SOURCE_FILE <embedded>:772:199)
Function.cljs.core.apply.cljs$core$IFn$_invoke$arity$4 (NO_SOURCE_FILE <embedded>:785:297)
Object.cljs.analyzer.macroexpand_1_STAR_ (NO_SOURCE_FILE <embedded>:3136:105)
Object.cljs.analyzer.macroexpand_1 (NO_SOURCE_FILE <embedded>:3139:211)
Function.cljs.analyzer.analyze_seq.cljs$core$IFn$_invoke$arity$4 (NO_SOURCE_FILE <embedded>:3146:35)
Object.cljs.analyzer.analyze_form (NO_SOURCE_FILE <embedded>:3183:213)
Object.cljs.analyzer.analyze_STAR_ (NO_SOURCE_FILE <embedded>:3186:337)
0.9.0 is not self-host compat
oh, so which version is it compatible?
so I see this commit, and it looks like it should be? https://github.com/clojure/test.check/commit/ebcc57dd631e25ee39bc059899e3bbd9ddf24ee9
I mean 0.10.0-alpha2
should
yeah exactly that problem going on, I need to dig
so for the error above, I have a repro repo (@anmonteiro already knows it 馃槃). https://github.com/arichiardi/lumo-repros
the customary scripts
folder contains the launchers, and what fails is ./scripts/test
basically, with the error above.
I will try to dig as well, but it seems quite a feat for me in there, I will try my best
is this with 1.8 beta?
@darwin Having "nightly" Canary runs is awesome! By the way, the Planck Canary build failures coincide with a bona fide unresolved issue https://dev.clojure.org/jira/browse/CLJS-2365
@anmonteiro will check it out
I鈥檓 thinking about looking into whether it is possible to cleanly dissoc
:def-emits-var
in cljs.js
when it is loading namespaces, which might lead to consistency between self-hosted and JVM, and essentially address the underlying issue behind CLJS-2365
^ would eliminate the hacks in Planck
I don鈥檛 see any downside
From what I understand, def-emits-var
is only about getting #鈥檉oo
to appear in the REPL