| Index: pkg/analyzer/lib/src/generated/resolver.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart
|
| index f3e71adf132f881d9b7ab4c9bccc8a1b995dcfb8..6c5f36a1fd123bfcb3f2d8f97ef3d6e5b1fa536a 100644
|
| --- a/pkg/analyzer/lib/src/generated/resolver.dart
|
| +++ b/pkg/analyzer/lib/src/generated/resolver.dart
|
| @@ -21654,8 +21654,7 @@ class StaticTypeAnalyzer extends SimpleAstVisitor<Object> {
|
| } else if (element is ExecutableElement) {
|
| staticType = element.type;
|
| } else if (element is TypeParameterElement) {
|
| - // if (isTypeName(node)) {
|
| - staticType = element.type;
|
| + staticType = _typeProvider.typeType;
|
| } else if (element is VariableElement) {
|
| VariableElement variable = element;
|
| staticType = _promoteManager.getStaticType(variable);
|
|
|