696fb20ece
The following code:
void main() {
int j = 0;
for (int i = 0; i < 10; i++) {
j++;
}
}
would generate the following:
for (var j = 0, i = 0; i < 10; ) {
j = j + 1;
var i = i + 1;
}
with this change the 'var' in the body disappears.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10471002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8192 260f80e4-7a28-3924-810f-c04153c831b5