Index: pkg/analyzer/lib/src/generated/error_verifier.dart |
diff --git a/pkg/analyzer/lib/src/generated/error_verifier.dart b/pkg/analyzer/lib/src/generated/error_verifier.dart |
index 78b7cf3b8c0ff0891b7f7d30c016ed907ce22046..4c09be9c11e761dfe29510aa2714a9117548fd1f 100644 |
--- a/pkg/analyzer/lib/src/generated/error_verifier.dart |
+++ b/pkg/analyzer/lib/src/generated/error_verifier.dart |
@@ -5199,7 +5199,7 @@ class ErrorVerifier extends RecursiveAstVisitor<Object> { |
return; |
} |
Element element = type.element; |
- if (element is TypeParameterizedElement) { |
+ if (element is ClassElement) { |
// prepare type parameters |
List<TypeParameterElement> parameterElements = element.typeParameters; |
List<DartType> parameterTypes = element.type.typeArguments; |