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

Side by Side Diff: pkg/front_end/testcases/inference/infer_assign_to_property_super.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 19 matching lines...) Expand all
30 constructor •() → void 30 constructor •() → void
31 : super core::Object::•() 31 : super core::Object::•()
32 ; 32 ;
33 } 33 }
34 class Test extends self::Base { 34 class Test extends self::Base {
35 constructor •() → void 35 constructor •() → void
36 : super self::Base::•() 36 : super self::Base::•()
37 ; 37 ;
38 method test() → void { 38 method test() → void {
39 super.member = self::f<dynamic>(); 39 super.member = self::f<dynamic>();
40 super.member.==(null) ?{dynamic} super.member = self::f<dynamic>() : null; 40 super.member.==(null) ? super.member = self::f<dynamic>() : null;
41 super.member = super.member.+(self::f<dynamic>()); 41 super.member = super.member.+(self::f<dynamic>());
42 super.member = super.member.*(self::f<dynamic>()); 42 super.member = super.member.*(self::f<dynamic>());
43 super.member = super.member.&(self::f<dynamic>()); 43 super.member = super.member.&(self::f<dynamic>());
44 super.member = super.member.-(1); 44 super.member = super.member.-(1);
45 super.member = super.member.-(1); 45 super.member = super.member.-(1);
46 dynamic v1 = super.member = self::f<dynamic>(); 46 dynamic v1 = super.member = self::f<dynamic>();
47 dynamic v2 = let final dynamic #t1 = super.member in #t1.==(null) ?{dynamic} super.member = self::f<dynamic>() : #t1; 47 dynamic v2 = let final dynamic #t1 = super.member in #t1.==(null) ? super.me mber = self::f<dynamic>() : #t1;
48 dynamic v3 = super.member = super.member.+(self::f<dynamic>()); 48 dynamic v3 = super.member = super.member.+(self::f<dynamic>());
49 dynamic v4 = super.member = super.member.*(self::f<dynamic>()); 49 dynamic v4 = super.member = super.member.*(self::f<dynamic>());
50 dynamic v5 = super.member = super.member.&(self::f<dynamic>()); 50 dynamic v5 = super.member = super.member.&(self::f<dynamic>());
51 dynamic v6 = super.member = super.member.-(1); 51 dynamic v6 = super.member = super.member.-(1);
52 dynamic v7 = let final dynamic #t2 = super.member in let final dynamic #t3 = super.member = #t2.-(1) in #t2; 52 dynamic v7 = let final dynamic #t2 = super.member in let final dynamic #t3 = super.member = #t2.-(1) in #t2;
53 } 53 }
54 } 54 }
55 static method f<T extends core::Object>() → self::f::T 55 static method f<T extends core::Object>() → self::f::T
56 return null; 56 return null;
57 static method main() → dynamic {} 57 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698