tools.analyzer

emit-form throws exception on AST produced from clojure.java.browse-ui namespace

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

To reproduce with latest t.a(.jvm) and Eastwood:

$ lein eastwood '{:namespaces [ clojure.java.browse-ui ]}'
== Eastwood 0.1.1-SNAPSHOT Clojure 1.5.1 JVM 1.7.0_15
== Linting clojure.java.browse-ui ==
Exception thrown during phase :emit-form of linting namespace clojure.java.browse-ui
ClassCastException clojure.lang.Symbol cannot be cast to java.lang.Class
        clojure.tools.analyzer.passes.jvm.emit-form/eval3479/fn--3481 (emit_form.clj:94)
        clojure.lang.MultiFn.invoke (MultiFn.java:231)
        clojure.tools.analyzer.passes.jvm.emit-form/-emit-form* (emit_form.clj:16)
        clojure.tools.analyzer.passes.jvm.emit-form/eval3486/fn--3488/fn--3490 (emit_form.clj:99)
        clojure.core/mapv/fn--6258 (core.clj:6241)

[... rest of stack trace deleted for brevity ...]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: