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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « test/kernel/regression/super_operator.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4
5 class A extends core::Object {
6 constructor •() → self::A
7 : super core::Object::•();
8 operator +(core::String s) → dynamic
9 return null;
10 index-get [](dynamic i) → dynamic
11 return null;
12 index-set []=(dynamic i, dynamic val) → dynamic {}
13 }
14 class B extends self::A {
15 constructor •() → self::B
16 : super self::A::•();
17 operator +(core::String s) → dynamic
18 return super.self::A::+("${s}${s}");
19 index-get [](dynamic i) → dynamic
20 return super.self::A::[](i);
21 index-set []=(dynamic i, dynamic val) → dynamic
22 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));
23 }
24 class Autobianchi extends core::Object {
25 constructor •() → self::Autobianchi
26 : super core::Object::•();
27 method g() → dynamic
28 return invalid-expression;
29 }
OLDNEW
« 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