Index: pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect |
diff --git a/pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect b/pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect |
index e2a6950db435d8ac4a3eb9aa96b7c40b7cbc7645..d6dd375d352dc822e71f71fccb504dee83885d96 100644 |
--- a/pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect |
+++ b/pkg/front_end/testcases/rasta/malformed_const_constructor.dart.direct.expect |
@@ -1,12 +1,5 @@ |
library; |
import self as self; |
-import "dart:core" as core; |
-class A extends core::Object { |
- const constructor •() → dynamic |
- : invalid-initializer; |
-} |
-static method main() → dynamic { |
- const self::A::•(); |
- new self::A::•(); |
-} |
+static method main() → dynamic |
+ throw "pkg/front_end/testcases/rasta/malformed_const_constructor.dart:8:5: Error: Expected a function body, but got ':'.\n : x = 'foo'\n ^"; |