This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-15
Channels
- # aws (1)
- # beginners (6)
- # boot (25)
- # cider (30)
- # cljs-dev (50)
- # cljsrn (45)
- # clojure (98)
- # clojure-austin (5)
- # clojure-czech (1)
- # clojure-dev (21)
- # clojure-dusseldorf (29)
- # clojure-germany (2)
- # clojure-greece (117)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-russia (26)
- # clojure-serbia (10)
- # clojure-spec (123)
- # clojure-turkiye (1)
- # clojure-uk (27)
- # clojured (13)
- # clojurescript (57)
- # core-async (18)
- # cursive (13)
- # datomic (20)
- # defnpodcast (16)
- # emacs (8)
- # events (2)
- # figwheel (3)
- # instaparse (1)
- # jobs (3)
- # jobs-discuss (39)
- # klipse (9)
- # lumo (100)
- # mount (1)
- # numerical-computing (1)
- # off-topic (22)
- # om (34)
- # onyx (17)
- # pedestal (1)
- # perun (29)
- # re-frame (60)
- # reagent (16)
- # remote-jobs (8)
- # rethinkdb (6)
- # ring-swagger (19)
- # rum (1)
- # slack-help (1)
- # specter (3)
- # untangled (1)
- # yada (17)
@bronsa in the process of testing the new async code, I’ve run into a problem with the ASYNC-138 patch, which I’ve described at http://dev.clojure.org/jira/browse/ASYNC-138
I’ve reverted the change for now
seems fixable
happy to take a second look tomorrow if you have something
@alexmiller i think i can fix it in like 10 minutes
well, don’t rush :)
I’m off to other things for now
but will pick it up again tomorrow
e.g. not going to work for primitives, need to explicitely unbox(let [^foo a (a')])
-> (let [a ^foo (a')])
should make prim type hints valid
yeah, that makes sense
user=> (set! *warn-on-reflection* true)
true
user=> (let [a ^int (identity ((fn [] 1)))] (Integer/valueOf a))
1
user=> (let [a ^int ((fn [] 1))] (Integer/valueOf a))
Reflection warning, NO_SOURCE_PATH:3:27 - call to static method valueOf on java.lang.Integer can't be resolved (argument types: unknown).
1
first one only works when direct linking is enabled, when direct linking is disabled both cause a reflection warning