<< Back to previous view

[CLJS-416] emit-block doesn't use context argument Created: 09/Nov/12  Updated: 21/Dec/12  Resolved: 21/Dec/12

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Trivial
Reporter: Brandon Bloom Assignee: Unassigned
Resolution: Declined Votes: 0
Labels: patch, patch,

Attachments: Text File CLJS-316-v1.patch    
Patch: Code


emit-block currently has arguments [context statements ret] but the context argument is never used and all call sites always draw statements and ret from the same block AST node. The attach patch simplifies emit-block and all call sites to use arguments [{:keys [statement ret]}]

Comment by Brandon Bloom [ 21/Dec/12 5:30 PM ]

Obsoleted by http://dev.clojure.org/jira/browse/CLJS-441

Generated at Fri Jan 19 07:54:26 CST 2018 using JIRA 4.4#649-r158309.