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

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

Issue 2661803002: Issue 28491. Add support for UnlinkedExprOperation.pushSuper even though it is not allowed. (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
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 0b68b65e0c87e9872cbcd6fc42afc11b3b53e5e1..b12d17dad26cc168b4d98bbc6d3b862c47c7bc0a 100644
--- a/pkg/analyzer/lib/src/summary/link.dart
+++ b/pkg/analyzer/lib/src/summary/link.dart
@@ -2014,6 +2014,9 @@ class ExprTypeComputer {
case UnlinkedExprOperation.pushNull:
stack.add(typeProvider.nullType);
break;
+ case UnlinkedExprOperation.pushSuper:
+ stack.add(DynamicTypeImpl.instance);
+ break;
case UnlinkedExprOperation.pushThis:
stack.add(DynamicTypeImpl.instance);
break;

Powered by Google App Engine
This is Rietveld 408576698