Index: pkg/analyzer/lib/src/dart/element/element.dart |
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart |
index 97a6c7006a36aec1c9aa83c397105930c4b7202c..ca7f284106b4cf623d403c55261d78ef57eb12cb 100644 |
--- a/pkg/analyzer/lib/src/dart/element/element.dart |
+++ b/pkg/analyzer/lib/src/dart/element/element.dart |
@@ -8917,6 +8917,9 @@ class TypeParameterElementImpl extends ElementImpl |
} |
TypeParameterType get type { |
+ if (_kernel != null) { |
+ _type ??= new TypeParameterTypeImpl(this); |
+ } |
if (_unlinkedTypeParam != null) { |
_type ??= new TypeParameterTypeImpl(this); |
} |