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

Side by Side Diff: test/kernel/regression/issue_000081.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: Update test expectations. 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
« no previous file with comments | « lib/kernel_visitor.dart ('k') | test/kernel/regression/mixin_library.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library; 1 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 Base extends core::Object { 5 class Base extends core::Object {
6 field core::int hashCode; 6 field core::int hashCode;
7 constructor •() → self::Base 7 constructor •() → self::Base
8 : self::Base::hashCode = 42, super core::Object::•(); 8 : self::Base::hashCode = 42, super core::Object::•();
9 } 9 }
10 class Sub extends self::Base { 10 class Sub extends self::Base {
11 field core::int _hashCode; 11 field core::int issue_000081.dart::_hashCode;
12 constructor •() → self::Sub 12 constructor •() → self::Sub
13 : self::Sub::_hashCode = null, super self::Base::•(); 13 : self::Sub::issue_000081.dart::_hashCode = null, super self::Base::•();
14 get hashCode() → dynamic 14 get hashCode() → dynamic
15 return let final dynamic #t1 = this._hashCode in #t1.==(null) ? this._hashCo de = super.self::Base::hashCode : #t1; 15 return let final dynamic #t1 = this.issue_000081.dart::_hashCode in #t1.==(n ull) ? this.issue_000081.dart::_hashCode = super.self::Base::hashCode : #t1;
16 method foo() → dynamic { 16 method foo() → dynamic {
17 this._hashCode.==(null) ? this._hashCode = super.self::Base::hashCode : null ; 17 this.issue_000081.dart::_hashCode.==(null) ? this.issue_000081.dart::_hashCo de = super.self::Base::hashCode : null;
18 } 18 }
19 } 19 }
20 static method main() → dynamic { 20 static method main() → dynamic {
21 core::print(new self::Sub::•().hashCode); 21 core::print(new self::Sub::•().hashCode);
22 dynamic l = <dynamic>[null]; 22 dynamic l = <dynamic>[null];
23 let final dynamic #t2 = l in let final dynamic #t3 = 0 in #t2.[](#t3).==(null) ? #t2.[]=(#t3, "fisk") : null; 23 let final dynamic #t2 = l in let final dynamic #t3 = 0 in #t2.[](#t3).==(null) ? #t2.[]=(#t3, "fisk") : null;
24 } 24 }
OLDNEW
« no previous file with comments | « lib/kernel_visitor.dart ('k') | test/kernel/regression/mixin_library.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698