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

Side by Side Diff: test/kernel/regression/mixin_library.dart.txt

Issue 2116793002: Work around for private names in mixin applications. (Closed) Base URL: git@github.com:dart-lang/rasta.git@master
Patch Set: Rebased on CL 2201763003. Created 4 years, 4 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
OLDNEW
1 library test.mixin_library; 1 library test.mixin_library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class Mixin<T extends core::Object> extends core::Object { 5 class Mixin<T extends core::Object> extends core::Object {
6 field dynamic x; 6 field dynamic x;
7 field dynamic y; 7 field dynamic y;
8 field dynamic z; 8 field dynamic z;
9 field self::Mixin::T t; 9 field self::Mixin::T t;
10 constructor •() → self::Mixin<self::Mixin::T> 10 constructor •() → self::Mixin<self::Mixin::T>
11 : self::Mixin::x = self::f(), super core::Object::•(); 11 : self::Mixin::x = self::f(), super core::Object::•();
12 method foo() → dynamic 12 method foo() → dynamic
13 return(throw core::_unresolvedSuperMethodError(this, #foo, <dynamic>[], <dyn amic, dynamic>{}, null)).+(self::f()); 13 return(throw core::_unresolvedSuperMethodError@dart.core(this, #foo, <dynami c>[], <dynamic, dynamic>{}, null)).+(self::f());
14 method g(self::Mixin::T a) → self::Mixin::T 14 method g(self::Mixin::T a) → self::Mixin::T
15 return null; 15 return null;
16 method h() → dynamic 16 method h() → dynamic
17 return self::V(); 17 return self::V();
18 method l() → dynamic 18 method l() → dynamic
19 return self::_private(); 19 return self::_private@test.mixin_library();
20 method _privateMethod@test.mixin_library() → dynamic
21 return 49;
22 method publicMethod() → dynamic
23 return this._privateMethod@test.mixin_library();
20 } 24 }
21 static method f() → dynamic 25 static method f() → dynamic
22 return 2; 26 return 2;
23 static method V() → dynamic 27 static method V() → dynamic
24 return 87; 28 return 87;
25 static method _private() → dynamic 29 static method _private@test.mixin_library() → dynamic
26 return 117; 30 return 117;
31 static method foo(dynamic m) → dynamic
32 return m._privateMethod@test.mixin_library();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698