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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/dart_printer.dart

Issue 349923004: Add support for superSend to the new IR and dart backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: sdk/lib/_internal/compiler/implementation/dart_backend/dart_printer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/dart_printer.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/dart_printer.dart
index fb4b241fba64692d20ca8531eb758351d014bf1d..4c83afcc13f8853a60a059a9c1a593811fe69f2d 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/dart_printer.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/dart_printer.dart
@@ -544,6 +544,13 @@ class This extends Expression {
This._create();
}
+class Super extends Expression {
asgerf 2014/06/23 10:55:17 There is already a SuperReceiver class for this.
sigurdm 2014/06/24 09:23:08 Thanks - don't know why I could not find it.
+ static final Super _instance = new Super._create();
+
+ factory Super() => _instance;
+ Super._create();
+}
+
// UNPARSER
bool isUnaryOperator(String op) {

Powered by Google App Engine
This is Rietveld 408576698