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

Unified Diff: pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart

Issue 1678053002: Fix super noSuchMethod handling. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix. Created 4 years, 10 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/compiler/lib/src/resolution/semantic_visitor_mixins.dart
diff --git a/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart b/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart
index 5e15a7dcd36af84a8d024e69fe8af6d73f6f2fbb..75272f311f4bd4ced4b72f92bfdadec74d4facd3 100644
--- a/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart
+++ b/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart
@@ -2650,6 +2650,15 @@ abstract class SetBulkMixin<R, A>
A arg) {
return bulkHandleSet(node, arg);
}
+
+ @override
+ R visitUnresolvedSuperSet(
+ Send node,
+ Element element,
+ Node rhs,
+ A arg) {
+ return bulkHandleSet(node, arg);
+ }
}
/// Mixin that implements all `visitXIndexSet` methods of [SemanticSendVisitor]
@@ -3332,6 +3341,15 @@ abstract class SuperBulkMixin<R, A>
}
@override
+ R visitUnresolvedSuperSet(
+ Send node,
+ Element element,
+ Node rhs,
+ A arg) {
+ return bulkHandleSuper(node, arg);
+ }
+
+ @override
R visitUnresolvedSuperInvoke(
Send node,
Element function,
@@ -4498,6 +4516,16 @@ class TraversalSendMixin<R, A> implements SemanticSendVisitor<R, A> {
}
@override
+ R visitUnresolvedSuperSet(
+ Send node,
+ Element element,
+ Node rhs,
+ A arg) {
+ apply(rhs, arg);
+ return null;
+ }
+
+ @override
R visitUnresolvedSuperInvoke(
Send node,
Element function,
« no previous file with comments | « pkg/compiler/lib/src/resolution/semantic_visitor.dart ('k') | pkg/compiler/lib/src/resolution/send_structure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698