<< Back to previous view

[TANAL-107] Latest t.a(.j) throws exception during analyze+eval of core.match Created: 21/Dec/14  Updated: 25/Mar/15  Resolved: 29/Dec/14

Status: Closed
Project: tools.analyzer
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Andy Fingerhut Assignee: Nicola Mometto
Resolution: Completed Votes: 0
Labels: None


 Description   

Tag eastwood-0.2.1-alpha2 of Eastwood uses t.a(.j) of about 4 weeks ago, and does not have this crash.

Branch update-tanal of Eastwood, latest master as of Dec 21 2014, does have this crash.

Reproduce steps:

Go to directory crucible and run ./clone.sh if not already done, to create the directory repos/core.match-2014-03-05 beneath that.

cd repos/core.match-2014-03-05
lein eastwood

With version 0.2.1-alpha2 and older t.a(.j), no exception.
With latest Eastwood on branch update-tanal, an exception that begins with:

== Linting clojure.core.match.test.date ==
src/test/clojure/clojure/core/match/test/date.clj:4:9: unlimited-use: Unlimited use of (clojure.core.match.date) in clojure.core.match.test.date
Exception thrown during phase :analyze+eval of linting namespace clojure.core.match.test.date
Got exception with extra ex-data:
    msg='No such namespace: cljs.core'
    (keys dat)=(:end-line :file :line :column :end-column :ns :form)
    (:form dat)=
^{:line 1179} cljs.core/ILookup

ExceptionInfo No such namespace: cljs.core
	clojure.core/ex-info (core.clj:4327)
	eastwood.copieddeps.dep2.clojure.tools.analyzer.passes.jvm.validate/eval2044/fn--2046 (validate.clj:47)

I may keep investigating to narrow down the cause, but I am currently wondering whether there is a Var clojurescript has the wrong value, or is being looked up in the wrong environment.



 Comments   
Comment by Andy Fingerhut [ 29/Dec/14 3:19 PM ]

Fix for TANAL-108 fixes this issue, too.





Generated at Wed Apr 01 04:35:13 CDT 2015 using JIRA 4.4#649-r158309.