| Index: tests/language/loop_hoist_test.dart
|
| diff --git a/tests/language/loop_hoist_test.dart b/tests/language/loop_hoist_test.dart
|
| index 628d635ff7f269bc5dc4a519b97e1a0890060603..5b15ec8e544e345f648b8967099c333503ab09f8 100644
|
| --- a/tests/language/loop_hoist_test.dart
|
| +++ b/tests/language/loop_hoist_test.dart
|
| @@ -8,7 +8,7 @@ class A {
|
| num x;
|
| A() : this.x = 0;
|
|
|
| - void bar(){
|
| + void bar() {
|
| // dart2js hoisted the this.x out of the loop, and missed that setX would
|
| // change the value.
|
| for (int i = 1; i < 3; i++) {
|
| @@ -17,6 +17,7 @@ class A {
|
| break;
|
| }
|
| }
|
| +
|
| setX(x) => this.x = x;
|
| }
|
|
|
|
|