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

Side by Side Diff: pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.direct.expect

Issue 2953503002: Only set types of conditional expressions in strong mode. (Closed)
Patch Set: Created 3 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
OLDNEW
1 library test; 1 library test;
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 A extends core::Object { 5 class A extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class B extends self::A { 10 class B extends self::A {
(...skipping 14 matching lines...) Expand all
25 : super self::B::•() 25 : super self::B::•()
26 ; 26 ;
27 } 27 }
28 class Test extends core::Object { 28 class Test extends core::Object {
29 field self::B member = null; 29 field self::B member = null;
30 constructor •() → void 30 constructor •() → void
31 : super core::Object::•() 31 : super core::Object::•()
32 ; 32 ;
33 method test() → void { 33 method test() → void {
34 this.member = self::f<dynamic>(); 34 this.member = self::f<dynamic>();
35 this.member.==(null) ?{dynamic} this.member = self::f<dynamic>() : null; 35 this.member.==(null) ? this.member = self::f<dynamic>() : null;
36 this.member = this.member.+(self::f<dynamic>()); 36 this.member = this.member.+(self::f<dynamic>());
37 this.member = this.member.*(self::f<dynamic>()); 37 this.member = this.member.*(self::f<dynamic>());
38 this.member = this.member.&(self::f<dynamic>()); 38 this.member = this.member.&(self::f<dynamic>());
39 this.member = this.member.-(1); 39 this.member = this.member.-(1);
40 this.member = this.member.-(1); 40 this.member = this.member.-(1);
41 dynamic v1 = this.member = self::f<dynamic>(); 41 dynamic v1 = this.member = self::f<dynamic>();
42 dynamic v2 = let final dynamic #t1 = this.member in #t1.==(null) ?{dynamic} this.member = self::f<dynamic>() : #t1; 42 dynamic v2 = let final dynamic #t1 = this.member in #t1.==(null) ? this.memb er = self::f<dynamic>() : #t1;
43 dynamic v3 = this.member = this.member.+(self::f<dynamic>()); 43 dynamic v3 = this.member = this.member.+(self::f<dynamic>());
44 dynamic v4 = this.member = this.member.*(self::f<dynamic>()); 44 dynamic v4 = this.member = this.member.*(self::f<dynamic>());
45 dynamic v5 = this.member = this.member.&(self::f<dynamic>()); 45 dynamic v5 = this.member = this.member.&(self::f<dynamic>());
46 dynamic v6 = this.member = this.member.-(1); 46 dynamic v6 = this.member = this.member.-(1);
47 dynamic v7 = let final dynamic #t2 = this.member in let final dynamic #t3 = this.member = #t2.-(1) in #t2; 47 dynamic v7 = let final dynamic #t2 = this.member in let final dynamic #t3 = this.member = #t2.-(1) in #t2;
48 } 48 }
49 } 49 }
50 static method f<T extends core::Object>() → self::f::T 50 static method f<T extends core::Object>() → self::f::T
51 return null; 51 return null;
52 static method main() → dynamic {} 52 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698