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 9132459fa777d0838fc8e527a148e2885829c726..18d0cca19bbcd65decb28363218f9e624896ffac 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,5 +1,18 @@ |
library; |
import self as self; |
+import "dart:core" as core; |
-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 ^"; |
+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."); |
+} |