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

getRoot causes throw when working with Clojure 1.3.0-beta1 #31

Closed
candera opened this issue Jul 12, 2011 · 3 comments
Closed

getRoot causes throw when working with Clojure 1.3.0-beta1 #31

candera opened this issue Jul 12, 2011 · 3 comments

Comments

@candera
Copy link
Contributor

candera commented Jul 12, 2011

Applies to

Steps to Reproduce

  • Create a new lein project that has clojure 1.3.0-beta1 as a dependency and swank-clojure 1.4.0-snapshot as a dev dependency.
  • Connect via SLIME/emacs to the new project
  • Write a trivial test
  • Run test via C-c ,
  • Observe the following exception:
No matching field found: getRoot for class clojure.lang.Var
  [Thrown class java.lang.IllegalArgumentException]

Restarts:
 0: [QUIT] Quit to the SLIME top level

Backtrace:
  0: clojure.lang.Reflector.getInstanceField(Reflector.java:289)
  1: clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:318)
  2: clojure.test.mode$report.invoke(NO_SOURCE_FILE:1)
  3: clojure.test$do_report.invoke(test.clj:349)
  4: clojure.test$test_ns.invoke(test.clj:723)
  5: clojure.core$map$fn__3839.invoke(core.clj:2433)
  6: clojure.lang.LazySeq.sval(LazySeq.java:42)
  7: clojure.lang.LazySeq.seq(LazySeq.java:60)
  8: clojure.lang.Cons.next(Cons.java:39)
  9: clojure.lang.RT.boundedLength(RT.java:1607)
...
@candera
Copy link
Contributor Author

candera commented Jul 12, 2011

It looks like getRoot disappeared from clojure.lang.Var. I haven't tracked down exactly when that happened. There's still a .getRawRoot, but I don't know what the semantic difference is between the two. I will investigate further as I have time, but I thought I'd send in the bug report right away in case anyone else runs into it.

@candera
Copy link
Contributor Author

candera commented Jul 13, 2011

Pull request sent: issue #33.

technomancy added a commit that referenced this issue Sep 26, 2011
@technomancy
Copy link
Contributor

I think this is fixed in the latest; thanks.

jeffvalk pushed a commit to jeffvalk/clojure-mode that referenced this issue Jun 17, 2014
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

2 participants