Clojure

Metadata on a def gets evaluated twice

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Triaged

Description

Metadata on the symbol of a def special form is evaluated twice.

(def ^{:foo (println "HA")} a [])

prints out HA HA. Offending line is in Compiler$DefExpr, fixed.

Activity

Alex Miller made changes -
Field Original Value New Value
Approval Triaged [ 10120 ]

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated: