Index: pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect |
diff --git a/pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect b/pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect |
index 6e94ed432de5322da54219170d33963dc6a95405..9ef3d02e3d8a8df03fd5d444cafb31c2c4986ce9 100644 |
--- a/pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect |
+++ b/pkg/front_end/testcases/rasta/bad_default_constructor.dart.direct.expect |
@@ -1,5 +1,17 @@ |
library; |
import self as self; |
+import "dart:core" as core; |
-static method main() → dynamic |
- throw "pkg/front_end/testcases/rasta/bad_default_constructor.dart: Error: A has no constructor that takes no arguments."; |
+class A extends core::Object { |
+ constructor •(dynamic x) → dynamic |
+ : super core::Object::•() |
+ ; |
+} |
+class B extends self::A { |
+ constructor •() → self::B |
+ : invalid-initializer; |
+} |
+static method main() → dynamic { |
+ new self::B::•(); |
+ invalid-expression; |
+} |