lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
richiardiandrea 2018-02-09T03:19:10.000114Z

just checked this....this code should go to core for bootstrap so that we save up some memory while running! 😄

richiardiandrea 2018-02-09T19:06:16.000752Z

I am compiling canary (`1.9.1024`) locally and spotted a potential problem:

failed compiling file:out/cljs/spec/alpha.cljs
	 (new)
	 Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 (NO_SOURCE_FILE <embedded>:2058:72)
	 (lumo/compiler.cljs:644:25)
	 Function.lumo.compiler.compile_file.cljs$core$IFn$_invoke$arity$3 (lumo/compiler.cljs:655:4)
	 (Object.lumo$closure$compile-file)
	 (lumo/closure.cljs:1644:21)
	 (Object.lumo$closure$-compile)
	 (Object.lumo$closure$compile-from-jar)
	 (lumo/closure.cljs:1679:21)
	 (Object.lumo$closure$-compile)

Cannot write 
	 Object.com.cognitect.transit.impl.writer.marshal (NO_SOURCE_FILE <embedded>:6019:288)
	 Object.com.cognitect.transit.impl.writer.emitObjects (NO_SOURCE_FILE <embedded>:6006:181)
	 Object.com.cognitect.transit.impl.writer.emitArray (NO_SOURCE_FILE <embedded>:6006:407)
	 Object.com.cognitect.transit.impl.writer.marshal (NO_SOURCE_FILE <embedded>:6019:58)
	 (NO_SOURCE_FILE <embedded>:6012:409)
	 cljs.core.PersistentHashMap.forEach (NO_SOURCE_FILE <embedded>:1502:182)
	 Object.com.cognitect.transit.impl.writer.emitMap (NO_SOURCE_FILE <embedded>:6012:286)
	 Object.com.cognitect.transit.impl.writer.marshal (NO_SOURCE_FILE <embedded>:6019:129)
	 Object.com.cognitect.transit.impl.writer.marshalTop (NO_SOURCE_FILE <embedded>:6021:120)
	 com.cognitect.transit.impl.writer.Writer.write (NO_SOURCE_FILE <embedded>:6022:390)

anmonteiro 2018-02-09T19:09:41.000006Z

@richiardiandrea file an issue with a repro please

richiardiandrea 2018-02-09T19:11:42.000631Z

kk

2018-02-09T19:58:49.000743Z

@richiardiandrea just a sniff test, sometimes if I change dep versions and I have cached js artifacts, the first errors I see are strange transit errors - I have no idea what’s actually going on there though

richiardiandrea 2018-02-09T19:59:31.000716Z

@noisesmith thanks I am trying a couple of things but your suggestion might be what is going on there

2018-02-09T20:08:22.000066Z

it would be interesting to find out why it’s always transit that acts up if there’s bad cache

richiardiandrea 2018-02-09T20:19:19.000607Z

and I would expect the reading operation to fail, not the write, anyways...maybe there is something else going on