Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load Leiningen project.clj due to "Must hint overloaded method: toArray" #2145

Closed
johanhaleby opened this issue Apr 3, 2019 · 1 comment

Comments

@johanhaleby
Copy link

johanhaleby commented Apr 3, 2019

When I try to open a project in Intellij 2019.1 with Cursive 1.8.1 and JDK 11 I run into this issue:

10:39	Error reading /Users/johan/path/app/project.clj
		Syntax error compiling deftype* at (clojure/core/rrb_vector/rrbt.clj:282:1).
		Must hint overloaded method: toArray

Afterwards Cursive shows me all kinds of "error highlights" in the UI making the IDE unusable. Maybe it's related to this clojure issue?

@johanhaleby
Copy link
Author

The problem was caused by me having defined venantius/ultra in my Leiningen profiles.clj. As indicated in venantius/ultra#90 the work-around for ultra is by excluding org.clojure/clojure and org.clojure/core.rrb-vector:

{:user {:plugins            						
           [[venantius/ultra "0.6.0" :exclusions [org.clojure/clojure org.clojure/core.rrb-vector]]]
,,,}

This also fixed the problems with Cursive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant