Index: pkg/kernel/test/type_parser.dart |
diff --git a/pkg/kernel/test/type_parser.dart b/pkg/kernel/test/type_parser.dart |
index 38209b4365e25bf3490f3d402d425246c48ac7f9..5bbb2d3220096cb1c29f373ded7a6f7baf508429 100644 |
--- a/pkg/kernel/test/type_parser.dart |
+++ b/pkg/kernel/test/type_parser.dart |
@@ -141,6 +141,8 @@ class DartTypeParser { |
return fail('Unresolved type $name'); |
} else if (target is Class) { |
return new InterfaceType(target, parseOptionalTypeArgumentList()); |
+ } else if (target is Typedef) { |
+ return new TypedefType(target, parseOptionalTypeArgumentList()); |
} else if (target is TypeParameter) { |
if (peekToken() == Token.LeftAngle) { |
return fail('Attempt to apply type arguments to a type variable'); |