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

Unified Diff: test/kernel/regression/super_operator.dart.txt

Issue 2061393004: Implement more super calls. (Closed) Base URL: git@github.com:dart-lang/rasta.git@exports
Patch Set: Renamed file to avoid getting picked up by analyzer. Created 4 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
« no previous file with comments | « test/kernel/regression/super_operator.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/super_operator.dart.txt
diff --git a/test/kernel/regression/super_operator.dart.txt b/test/kernel/regression/super_operator.dart.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52a4b3aaf3bac902685f0ed9d1999fba039e9c66
--- /dev/null
+++ b/test/kernel/regression/super_operator.dart.txt
@@ -0,0 +1,29 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+class A extends core::Object {
+ constructor •() → self::A
+ : super core::Object::•();
+ operator +(core::String s) → dynamic
+ return null;
+ index-get [](dynamic i) → dynamic
+ return null;
+ index-set []=(dynamic i, dynamic val) → dynamic {}
+}
+class B extends self::A {
+ constructor •() → self::B
+ : super self::A::•();
+ operator +(core::String s) → dynamic
+ return super.self::A::+("${s}${s}");
+ index-get [](dynamic i) → dynamic
+ return super.self::A::[](i);
+ index-set []=(dynamic i, dynamic val) → dynamic
+ return let final #t1 = let final #t2 = i in let final #t3 = i = #t2.+(1) in #t2 in super.self::A::[]=(#t1, super.self::A::[](#t1).+(val));
+}
+class Autobianchi extends core::Object {
+ constructor •() → self::Autobianchi
+ : super core::Object::•();
+ method g() → dynamic
+ return invalid-expression;
+}
« no previous file with comments | « test/kernel/regression/super_operator.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698