-
Notifications
You must be signed in to change notification settings - Fork 47
Evaling a set form throws a "... java.lang.Long cannot be cast to java.lang.Integer" exception #71
Comments
On osx 10.10 I can't recreate this. Could you provide more specifics? I eval'ed with Cmd/Ctrl-enter and with this example file: (ns dev)
#{1 2 3 4}
#{"a" "b" "c"} My connection is a normal connection started by evaling the top form. Using clojure 1.7.0 |
I couldn't reproduce this on my Windows 7 computer [note to myself – T] just now either either in an InstaREPL tab. I was able to reproduce it in an existing file for a Clojure project using Clojure 1.5.1. Let me see if I can create a minimal project to share. |
Also, given the time of my original comments, I am pretty sure I was using my Mac (newest OS X version). I believe I upgraded LT in LT, instead of building a new version. I'll confirm whether I can reproduce this again on that computer anyways. |
I created a new Leiningen project, using the default template, i.e. by running I was however able to reproduce it after I changed the Clojure version in project.clj to 1.5.1. Clojure 1.6.0 works, i.e. I can NOT reproduce this with that version. Given that we're not supporting versions of Clojure earlier than 1.7.0, and that no one (including me) cares about fixing this, I'm closing this. Sorry for the trouble! In the future, I'll try bumping the version of Clojure I'm using in my projects before creating new issues for apparent bugs. |
Thanks for following through and agree that Clojure 1.5.1 is out of scope |
@paulMihei If you create a new Clojure file, the version of Clojure should be the version your project uses. If you make a new Clojure file that's not in a project, it looks like the LightTable-REPL connection gives you Clojure version 1.5.1. We should fix that. |
@cldwalker @rundis Maybe the version of Clojure for a Clojure file for the LightTable-REPL connection (at least without a project) is 1.5.1 because the Clojure plugin project itself still depends on 1.5.1? |
How can I effectively update a plugin from Light Table? I see many plugins that I have installed by the manager don't appear under LightTable\resources\app\plugins. I also tried changing the Clojure plugin on the same folder to 1.8.0 but still, I got 1.5.1. LightTable/ClojureInstarepl#19 |
I was reviewing LightTable/ClojureInstarepl#7 when I discovered this. I'm running version 0.8.1 of LT and version 0.3.1 of the Clojure plugin.
Both of the following forms throw the same exception when evaled separately, or together:
Full exception stack trace:
The text was updated successfully, but these errors were encountered: