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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart

Issue 2954403002: Add type inference for super method invocations. (Closed)
Patch Set: Created 3 years, 6 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/front_end/lib/src/fasta/kernel/fasta_accessors.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
index a55ae33c97254dcd44247b20e7a8bc5df818a149..2c47c0018fe51c7d108badc29d3b6aac96e1b9f8 100644
--- a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
@@ -761,7 +761,8 @@ class SuperPropertyAccessor extends kernel.SuperPropertyAccessor
isConstantExpression: true,
isImplicitCall: true);
} else {
- return new DirectMethodInvocation(new ThisExpression(), getter, arguments)
+ return new DirectMethodInvocation(
+ new KernelThisExpression(), getter, arguments)
..fileOffset = offset;
}
}

Powered by Google App Engine
This is Rietveld 408576698