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

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

Issue 2661793002: Infer UnlinkedExprOperation.pushThis as dynamic. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | pkg/analyzer/test/src/summary/resynthesize_common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 67c5149995836fc7f1a3150fcd2d7f90422406d1..3d47f1f278023e781c01cb7a106f6b1464a031a2 100644
--- a/pkg/analyzer/lib/src/summary/link.dart
+++ b/pkg/analyzer/lib/src/summary/link.dart
@@ -2008,6 +2008,9 @@ class ExprTypeComputer {
case UnlinkedExprOperation.pushNull:
stack.add(typeProvider.nullType);
break;
+ case UnlinkedExprOperation.pushThis:
+ stack.add(DynamicTypeImpl.instance);
+ break;
case UnlinkedExprOperation.pushReference:
_doPushReference();
break;
« no previous file with comments | « no previous file | pkg/analyzer/test/src/summary/resynthesize_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698