Index: tests/language_strong/super_from_constructor_test.dart |
diff --git a/tests/language_strong/super_from_constructor_test.dart b/tests/language_strong/super_from_constructor_test.dart |
index 2025aa983a0e5bff4a0539a081bd6736aa0143d0..f19bf116fc042cbe7a54c6d232a2dcbe6effdd52 100644 |
--- a/tests/language_strong/super_from_constructor_test.dart |
+++ b/tests/language_strong/super_from_constructor_test.dart |
@@ -7,6 +7,7 @@ import "package:expect/expect.dart"; |
final results = []; |
class Base { |
+ var f; |
m(x) => results.add(x); |
} |
@@ -15,10 +16,12 @@ class C extends Base { |
C(this._iter) { |
_iter.map((x) => super.m(x)).toList(); |
+ super.f = _iter; |
} |
} |
main() { |
- new C([1, 2, 3]); |
+ var c = new C([1, 2, 3]); |
Expect.listEquals(results, [1, 2, 3]); |
+ Expect.listEquals(c.f, [1, 2, 3]); |
} |