Index: tests/language/deferred_inheritance_constraints_test.dart |
diff --git a/tests/language/deferred_inheritance_constraints_test.dart b/tests/language/deferred_inheritance_constraints_test.dart |
index c94528e80ded4f6ffd0a9cfc0aed1cd475377f26..2e2cf51bdd604cb38d0fe4e931e09096ea822e9f 100644 |
--- a/tests/language/deferred_inheritance_constraints_test.dart |
+++ b/tests/language/deferred_inheritance_constraints_test.dart |
@@ -6,30 +6,24 @@ import "package:expect/expect.dart"; |
import "deferred_inheritance_constraints_lib.dart" deferred as lib; |
class Foo {} |
- |
class Foo2 extends D {} |
- |
-class A extends |
+ |
+class A extends |
lib. //# extends: compile-time error |
- Foo {} |
- |
-class B |
- implements |
+ Foo {} |
+class B implements |
lib. //# implements: compile-time error |
- Foo {} |
- |
+ Foo {} |
class C1 {} |
- |
-class C = C1 |
- with |
+class C = C1 with |
lib. //# mixin: compile-time error |
- Foo; |
+ Foo; |
-class D { |
- D(); |
- factory D.factory() = |
+class D { |
+ D() ; |
+ factory D.factory() = |
lib. //# redirecting_constructor: static type warning |
- Foo2; |
+ Foo2; |
} |
void main() { |
@@ -37,6 +31,6 @@ void main() { |
new B(); |
new C(); |
Expect.throws(() { //# redirecting_constructor: continued |
- new D.factory(); |
+ new D.factory(); |
}); //# redirecting_constructor: continued |
-} |
+} |