Index: pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect |
diff --git a/pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect b/pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect |
index 18d0cca19bbcd65decb28363218f9e624896ffac..9132459fa777d0838fc8e527a148e2885829c726 100644 |
--- a/pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect |
+++ b/pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect |
@@ -1,18 +1,5 @@ |
library; |
import self as self; |
-import "dart:core" as core; |
-class A extends core::Object { |
- constructor •() → self::A |
- : super core::Object::•(); |
- method foo() → dynamic { |
- throw core::_malformedTypeError("'B' is not a type."); |
- } |
-} |
-class B extends core::Object { |
- constructor •() → self::B |
- : super core::Object::•(); |
-} |
-static method main() → dynamic { |
- throw core::_malformedTypeError("'B' is not a type."); |
-} |
+static method main() → dynamic |
+ throw "pkg/front_end/testcases/rasta/type_with_parse_error.dart:21:3: Error: Expected a declaration, but got 'int'.\n int i\n ^"; |