Files
sdk/lib
ager@google.com 696fb20ece Avoid repeated declaration of the same loop variable.
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
2012-06-01 13:15:19 +00:00
..
2012-06-01 07:46:51 +00:00
2012-05-23 16:43:30 +00:00
2012-04-03 09:42:27 +00:00