Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Declined
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Linux, using lein-cljsbuild with clojurescript 0.0-1513
Description
Compilation (with :optimizations :whitespace) fails when using an unqualified, re-assigned set! symbol, producing the following exception:
java.lang.AssertionError: Assert failed: set! target must be a field or a symbol naming a var targetexpr
analyzer.clj:578 cljs.analyzer/eval337[fn]
...
(This only occurs when using set! without qualification.)
Can we get a code example please? Thanks.