cc4d2af55d
Closure variables are now represented by a ClosureVariable object. Previously they were identified by a LocalElement. Parameters to a FunctionDefinition are now a mix of Parameter and ClosureVariable. FunctionDefinitions also have a list of all the closure variables they declare. This change is a step toward supporting field initializers that modify or capture function parameters. BUG= R=johnniwinther@google.com, sigurdm@google.com Review URL: https://codereview.chromium.org//756383004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42164 260f80e4-7a28-3924-810f-c04153c831b5