clojure-emacs / squiggly-clojure

Flycheck checker for Clojure, using eastwood and core.typed.
GNU General Public License v3.0
204 stars 25 forks source link

Unable to resolve symbol: any? in this context #48

Closed Pitometsu closed 5 years ago

Pitometsu commented 7 years ago

Got this error, while I have

((nil . ((flycheck-disabled-checkers
          (clojure-cider-typed)))))
{:user {:plugins [[cider/cider-nrepl "0.15.0-SNAPSHOT"]
                  [refactor-nrepl "2.0.0"]
                  [lein-alembic "0.1.0"]
                  [lein-cljfmt "0.5.6"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]
                       [jonase/eastwood "0.2.3" :exclusions [org.clojure/clojure]]
                       [jonase/kibit "0.1.3"]]}}
core.typed:java.lang.RuntimeException: Unable to resolve symbol: any? in this context, compiling:(clojure/core/typed/datatype_ancestor_env.clj:24:12)

Do not use Typed Clojure yet. So, how can I avoid error with that checker, should I install it anyway?

core.typed:There was previously an unrecoverable internal error while loading core.typed. Please restart your process.
Pitometsu commented 7 years ago

Even with

[org.clojure/core.typed "0.3.32" :exclusions [org.clojure/clojure] :classifier "slim"]

still the same...

pnf commented 7 years ago

Can try some of the debugging hints in the README?

On Mar 5, 2017, at 8:51 AM, Netsu notifications@github.com wrote:

Even with

[org.clojure/core.typed "0.3.32" :exclusions [org.clojure/clojure] :classifier "slim"] still the same...

― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

chadhs commented 7 years ago

(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc clojure-cider-typed)))

I've decided to just rely on kitbit and eastwood and disable core.typed checking for now.

pnf commented 5 years ago

Closing this issue as possibly relevant to core.typed but not to flycheck-clojure per se.