I can confirm that I can evaluate namespaces that use core.typed 0.2.26 inside LightTable - and run check-ns, which failed inside LightTable with 0.2.25!
Sean On Jan 28, 2014, at 5:34 AM, Ambrose Bonnaire-Sergeant <abonnaireserge...@gmail.com> wrote: > 0.2.26 contains a workaround by disabling the WIP Clojurescript support. > You might need the Sonatype repo. > > I've got a GRE exam on Monday so I can't work on this properly yet. > > Please let me know if it worked. > > Also Sean (CCed), please try 0.2.26 against your Light Table failure case. I > believe this is the same issue. > > Thanks, > Ambrose > > On Tue, Jan 28, 2014 at 9:03 PM, t x <txrev...@gmail.com> wrote: > Hi Ambrose, > > Yes, I have a manual dependency on: > [org.clojure/clojurescript "0.0-2138"] > > I looked at the project.clj of core.typed, and got: > > https://github.com/clojure/core.typed/blob/master/project.clj#L13 > > Is the dependency on "[org.clojure/clojurescript "0.0-1859"]" correct? > (it seems rather outdated). > > Thanks! > > On Tue, Jan 28, 2014 at 4:59 AM, Ambrose Bonnaire-Sergeant > <abonnaireserge...@gmail.com> wrote: > > Hi, > > > > There is some conflict with ClojureScript, some others have also observed > > this. > > > > Is there some library that is upgrading the Clojurescript version to one > > different to > > what core.typed depends on? > > > > Thanks, > > Ambrose > > > > > > On Tue, Jan 28, 2014 at 5:38 PM, t x <txrev...@gmail.com> wrote: > >> > >> ## Background > >> > >> I'm using [org.clojure/core.typed "0.2.25"] > >> > >> ## Question: > >> > >> Which is the following is true: > >> > >> (1) my code is correct / should work, and therefore there is something > >> with my setup > >> > >> (2) my code is wrong (and please point out how I can fix it) > >> > >> > >> ## Code > >> > >> (ns test > >> #+clj (:require [clojure.core.typed]) > >> #+clj (:use [clojure.core.typed])) > >> > >> (ann add [Number Number -> Number]) > >> (defn add [a b] > >> (+ a b)) > >> > >> (check-ns) > >> > >> > >> ## Error > >> > >> When I execute the above, I get the following error. > >> > >> It's not clear to me what I'm doing wrong. > >> > >> java.lang.NullPointerException: null > >> at clojure.core$deref_future.invoke (core.clj:2108) > >> clojure.core$deref.invoke (core.clj:2129) > >> cljs.analyzer$resolve_var.invoke (analyzer.clj:347) > >> cljs.analyzer$resolve_var.invoke (analyzer.clj:308) > >> clojure.core.typed.util_cljs$resolve_var.invoke (util_cljs.clj:40) > >> clojure.core.typed.parse_unparse$resolve_type_cljs.invoke > >> (parse_unparse.clj:585) > >> clojure.core.typed.parse_unparse/fn (parse_unparse.clj:709) > >> clojure.lang.MultiFn.invoke (MultiFn.java:227) > >> clojure.core.typed.parse_unparse/fn (parse_unparse.clj:723) > >> clojure.lang.MultiFn.invoke (MultiFn.java:227) > >> clojure.core.typed.parse_unparse$parse_function.invoke > >> (parse_unparse.clj:879) > >> clojure.core.typed.parse_unparse/fn (parse_unparse.clj:900) > >> clojure.lang.MultiFn.invoke (MultiFn.java:227) > >> > >>
signature.asc
Description: Message signed with OpenPGP using GPGMail