Index: pkg/analyzer/lib/src/context/context.dart |
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart |
index beca9b6bad4fc9b9646450df2f04b1cbb784f593..6ad3363fec5d920014a2ba6a09dec04e87d625df 100644 |
--- a/pkg/analyzer/lib/src/context/context.dart |
+++ b/pkg/analyzer/lib/src/context/context.dart |
@@ -732,8 +732,6 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
ClassElementImpl element = |
new ClassElementImpl.forNode(AstFactory.identifier3(typeName)); |
element.supertype = objType; |
- InterfaceTypeImpl type = new InterfaceTypeImpl(element); |
- element.type = type; |
if (parameterNames != null) { |
int count = parameterNames.length; |
if (count > 0) { |
@@ -750,7 +748,6 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
typeParameter.type = typeArguments[i]; |
} |
element.typeParameters = typeParameters; |
- type.typeArguments = typeArguments; |
} |
} |
return element; |