frenchy64/analyze — Issue #13: Drop `:init` from `:binding-init`?
Author: jonase
Created: 2012-01-18 04:40:04+00:00
State: open

Currently the `:init` key is dublicated in both `:local-binding` and `:binding-init`. Furthermore, since `:init` is included as part of `:children` in both, it complicates code walking (the same node is visited multiple times).

I see two possible solutions:
- drop `:init` in `:binding-init`
- drop `:binding-init` altogether.

Currently I’d prefer the latter. AFAICT `:binding-init` doesnt really do anything useful and it is not an expression in `Compiler.java` so I don’t think we would loose much by delegating directly to `:local-binding`.