Description[refactor] js_codegen: remove currentClass, simplify visitSimpleIdentifier
We were tracking currentClass for no real reason.
Also attempted to discern what visitSimpleIdentifier was actually doing. It now prefers the original element (the "field" not the synthetic getter/setter) whenever possible. Previously was a mismash.
This little change tripped on the (larger, not fixed yet) issue #138 ... but I think I found a way around the issue for now, by tweaking the private TypeDataArray class.
R=jacobr@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/23fb9a7823b28e5371b5a4b30a1e786df54ae3f3
Patch Set 1 #
Total comments: 3
Messages
Total messages: 5 (1 generated)
|