Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: pkg/analyzer/lib/src/summary/link.dart

Issue 2376213003: Instantiate parameterized types of type parameters with 'dynamic' type arguments. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/summary/link.dart
diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart
index 41b011506c1433ee36b51d359601ae9674e13312..925cd23cedb97491df099e2d3d832e802d2eeced 100644
--- a/pkg/analyzer/lib/src/summary/link.dart
+++ b/pkg/analyzer/lib/src/summary/link.dart
@@ -4407,6 +4407,9 @@ abstract class ReferenceableElementForLink implements Element {
*/
TypeInferenceNode get asTypeInferenceNode => null;
+ @override
+ ElementLocation get location => new ElementLocationImpl.con1(this);
+
/**
* Return the type indicated by this element when it is used in a
* type instantiation context. If this element can't legally be

Powered by Google App Engine
This is Rietveld 408576698