tools.analyzer

Var not found when using 'user' as alias

Details

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

Description

The following snippet of code throws "clojure.lang.ExceptionInfo: no such var: user/union"

(require '[clojure.set :as user]
         '[clojure.tools.analyzer.jvm :as jvm])

(jvm/analyze 'user/union (jvm/empty-env))

If I change the alias to something else it works as expected.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: