Index: tests/language/factory1_test.dart |
diff --git a/tests/language/factory1_test.dart b/tests/language/factory1_test.dart |
index 05c3eb4867203caf701ff3e748800e8356d59732..bb1750482395a0753eed22096334871eb2dbabba 100644 |
--- a/tests/language/factory1_test.dart |
+++ b/tests/language/factory1_test.dart |
@@ -4,19 +4,20 @@ |
// Dart test program for testing factory generic result types. |
class A<T> { |
- A() {} |
+ A() { } |
factory A.factory() { |
return new A<String>(); |
} |
} |
class B<T> extends A<T> { |
- B() {} |
+ B() { } |
factory B.factory() { |
return new B<String>(); |
} |
} |
+ |
main() { |
new A<String>.factory(); |
new A<int>.factory(); // //# 00: dynamic type error |