<< Back to previous view

[CLJ-1137] Metadata on a def gets evaluated twice Created: 21/Dec/12  Updated: 21/Dec/12

Status: Open
Project: Clojure
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Minor
Reporter: Ghadi Shayban Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File CLJ-1137-eval-metadata-once.diff    
Patch: Code

 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.


Generated at Wed Apr 16 05:29:56 CDT 2014 using JIRA 4.4#649-r158309.