Index: tests/language_strong/field_optimization_test.dart |
diff --git a/tests/language_strong/field_optimization_test.dart b/tests/language_strong/field_optimization_test.dart |
index 1d1ba3c87f2c4d41178d73d2e849c8463325942e..58a1461c64704b0ee6bd6b627e930d0225e661dc 100644 |
--- a/tests/language_strong/field_optimization_test.dart |
+++ b/tests/language_strong/field_optimization_test.dart |
@@ -6,16 +6,17 @@ import "package:expect/expect.dart"; |
// Dart test program to test type-based optimization on fields. |
- |
class A { |
var x; |
A() : x = 0; |
foo() { |
x++; |
} |
+ |
toto() { |
x = 99; |
} |
+ |
bar(y) { |
x = y; |
} |
@@ -24,6 +25,7 @@ class A { |
class B { |
operator +(other) => "ok"; |
} |
+ |
main() { |
var a = new A(); |
a.foo(); |