| Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| index 52da7811bd4f35540899698e11dbc7dbdf1c00ab..c72715dc5c64c77fe6da1b7da43385c96e820679 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| @@ -1436,7 +1436,8 @@ class TypeResolver {
|
| type = new MalformedType(
|
| new ErroneousElementX(MessageKind.TYPE_ARGUMENT_COUNT_MISMATCH,
|
| {'type': node}, typeName.source, enclosingElement),
|
| - new InterfaceType(cls.declaration, arguments.toLink()));
|
| + new InterfaceType.userProvidedBadType(cls.declaration,
|
| + arguments.toLink()));
|
| } else {
|
| if (arguments.isEmpty) {
|
| type = cls.rawType;
|
| @@ -1456,7 +1457,7 @@ class TypeResolver {
|
| type = new MalformedType(
|
| new ErroneousElementX(MessageKind.TYPE_ARGUMENT_COUNT_MISMATCH,
|
| {'type': node}, typeName.source, enclosingElement),
|
| - new TypedefType(typdef, arguments.toLink()));
|
| + new TypedefType.userProvidedBadType(typdef, arguments.toLink()));
|
| } else {
|
| if (arguments.isEmpty) {
|
| type = typdef.rawType;
|
|
|