ClojureScript

cljs.analyzer declares vars which are only used in Clojure

Details

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

Description

We shouldn't be declaring these vars on the ClojureScript side, as they can lead to runtime errors when trying to call those functions from the self-hosted compiler. Putting them under reader conditionals enables emitting warnings when they are used.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: