This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-30
Channels
- # beginners (11)
- # boot (18)
- # cider (36)
- # cljs-dev (17)
- # cljsrn (5)
- # clojure (144)
- # clojure-android (4)
- # clojure-art (1)
- # clojure-brasil (1)
- # clojure-dev (5)
- # clojure-india (1)
- # clojure-russia (13)
- # clojure-spec (4)
- # clojurescript (15)
- # code-art (2)
- # cryogen (1)
- # defnpodcast (1)
- # hoplon (1)
- # leiningen (5)
- # off-topic (18)
- # om (4)
- # onyx (25)
- # parinfer (1)
- # pedestal (6)
- # portkey (1)
- # re-frame (16)
- # reagent (1)
- # uncomplicate (1)
- # unrepl (10)
- # yada (16)
@nikki that the evaluated user code can take over input and output stream. (A bIt like a subshell) See the 1st message of Rich Hickey in this discussion https://groups.google.com/forum/m/#!topic/clojure-dev/Dl3Stw5iRVA
CLOSURE-WARNING: demo/foreign.cljs[4:15] (compiled to demo/foreign.js[4:9])
Property helloWorld never defined on x
CLOSURE-WARNING: cljs/core.cljs[293:4] (compiled to cljs/core.js[325:12])
Property nodeGlobalRequire never defined on goog
CLOSURE-WARNING: cljs/core.cljs[364:18] (compiled to cljs/core.js[349:11])
variable process is undeclared
CLOSURE-WARNING: cljs/core.cljs[365:14] (compiled to cljs/core.js[349:51])
Property hrtime never defined on process
CLOSURE-WARNING: cljs/core.cljs[366:21] (compiled to cljs/core.js[350:16])
Property hrtime never defined on process
CLOSURE-WARNING: cljs/core.cljs[10487:40] (compiled to cljs/core.js[35318:17])
Property number never defined on Error
CLOSURE-WARNING: cljs/core.cljs[10490:52] (compiled to cljs/core.js[35324:23])
Property columnNumber never defined on Error
CLOSURE-WARNING: cljs/core.cljs[10749:32] (compiled to cljs/core.js[35800:35])
variable global is undeclared
CLOSURE-WARNING: demo/foreign.cljs[4:15] (compiled to demo/foreign.js[4:9])
Property helloWorld never defined on x
@dnolen I know you said :check-types
probably isn't a goal anymore but I have it working. just requires CLJS-2019
and https://github.com/thheller/shadow-build/blob/c09258cad22707a3e1c5aaf703cdba661fed8a6d/src/main/shadow/cljs/build.clj#L2434-L2485
CLOSURE-WARNING: cljs/core/async/impl/buffers.cljs[23:0] (compiled to cljs/core/async/impl/buffers.js[21:16])
Bad type annotation. Unknown type cljs.core.async.impl.buffers.Object
CLOSURE-WARNING: cljs/core/async/impl/timers.cljs[59:0] (compiled to cljs/core/async/impl/timers.js[248:16])
Bad type annotation. Unknown type cljs.core.async.impl.timers.Object
CLOSURE-WARNING: smartchecker/user.cljs[249:31] (compiled to smartchecker/user.js[573:7])
Function parseInt: called with 1 argument(s). Function requires at least 2 argument(s) and no more than 2 argument(s).
registering the CLJS protocol properties with the type registry seems like a hack but it seems to do the trick