Last active
January 1, 2016 06:59
-
-
Save sherbondy/8108634 to your computer and use it in GitHub Desktop.
NullPointerException from core.typed, oh no :(
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rt.main=> (check-ns) | |
| Initializing core.typed ... | |
| Loading Clojurescript... | |
| Clojurescript found and loaded. | |
| Initializing cljs.core | |
| NullPointerException clojure.core/deref-future (core.clj:2108) | |
| rt.main=> (e) | |
| java.lang.NullPointerException: null | |
| at clojure.core$deref_future.invoke (core.clj:2108) | |
| clojure.core$deref.invoke (core.clj:2129) | |
| cljs.analyzer$get_namespace.invoke (analyzer.clj:171) | |
| cljs.analyzer$empty_env.invoke (analyzer.clj:214) | |
| clojure.core.typed.util_cljs$empty_env$fn__2156.invoke (util_cljs.clj:30) | |
| clojure.lang.AFn.applyToHelper (AFn.java:159) | |
| clojure.lang.AFn.applyTo (AFn.java:151) | |
| clojure.core$apply.invoke (core.clj:617) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not actually type checking ClojureScript here. This is the result of type checking the clj output of:
https://github.com/sherbondy/rt/blob/master/src/cljx/rt/core.cljx
This error sprung up after I added ClojureScript as a dependency to my project:
[org.clojure/clojurescript "0.0-2030"]