Index: pkg/front_end/testcases/rasta/malformed_function_type.dart.direct.expect |
diff --git a/pkg/front_end/testcases/rasta/malformed_function_type.dart.direct.expect b/pkg/front_end/testcases/rasta/malformed_function_type.dart.direct.expect |
index 9f6e3ea117266120ec5dc10e55394db9db664d00..d886fb2f6bd0bc3516bf7a59720a32e9a46a92ee 100644 |
--- a/pkg/front_end/testcases/rasta/malformed_function_type.dart.direct.expect |
+++ b/pkg/front_end/testcases/rasta/malformed_function_type.dart.direct.expect |
@@ -1,6 +1,9 @@ |
library; |
import self as self; |
+import "dart:core" as core; |
+typedef Handle = (core::String) → dynamic; |
+const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/rasta/malformed_function_type.dart:5:16: Error: The typedef 'Handle' has a reference to itself.\ntypedef Handle Handle(String command);\n ^"]/* from null */; |
static method main() → dynamic { |
- invalid-type h; |
+ (core::String) → dynamic h; |
} |