Index: tests/language/state_mangling3_test.dart |
diff --git a/tests/language/state_mangling_test.dart b/tests/language/state_mangling3_test.dart |
similarity index 73% |
copy from tests/language/state_mangling_test.dart |
copy to tests/language/state_mangling3_test.dart |
index 02df690ca51e966dc7f9395ebc47a5417bbbe578..195a2dd298066adc6bcf60a7e7cb641f475a60a1 100644 |
--- a/tests/language/state_mangling_test.dart |
+++ b/tests/language/state_mangling3_test.dart |
@@ -2,15 +2,15 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-foo(state) { |
- if (state == null) return 0; |
+foo(state0) { |
+ if (state0 == null) return 0; |
var sum = 0; |
- for (int i = 0; i < state.length; i++) { |
- sum += state[i]; |
+ for (int i = 0; i < state0.length; i++) { |
+ sum += state0[i]; |
} |
- state = inscrutableId(state); |
- for (int i = 0; i < state.length; i++) { |
- sum += state[i]; |
+ state0 = inscrutableId(state0); |
+ for (int i = 0; i < state0.length; i++) { |
+ sum += state0[i]; |
} |
return sum; |
} |