Index: tests/language_strong/black_listed_test.dart |
diff --git a/tests/language_strong/black_listed_test.dart b/tests/language_strong/black_listed_test.dart |
index a575375b86a94bedd66b266af2f57b6ed3d8155c..43e355465928846f94c5aca7c5bace6b93580fec 100644 |
--- a/tests/language_strong/black_listed_test.dart |
+++ b/tests/language_strong/black_listed_test.dart |
@@ -38,7 +38,6 @@ abstract class MyStringInterface implements String default F { // //# 10: compil |
// Function. |
class MyFunction implements Function {} |
- |
class MyOtherFunction extends Function {} |
abstract class MyFunctionInterface implements Function default F { // //# 12: compile-time error |
MyFunctionInterface(); // //# 12: continued |
@@ -50,6 +49,7 @@ abstract class MyDynamicInterface implements dynamic default F { // //# 14: com |
MyDynamicInterface(); // //# 14: continued |
} // //# 14: continued |
+ |
class F { |
factory MyBoolInterface() { return null; } // //# 02: continued |
factory MyNumInterface() { return null; } // //# 04: continued |
@@ -60,6 +60,7 @@ class F { |
factory MyDynamicInterface() { return null; } // //# 14: continued |
} |
+ |
main() { |
new MyBool(); // //# 01: continued |
new MyBoolInterface(); // //# 02: continued |