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

Side by Side Diff: pkg/front_end/testcases/inference_new/strongly_connected_component.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 static field dynamic x = () → dynamic => self::f() ?{dynamic} self::y : self::z; 5 static field dynamic x = () → dynamic => self::f() ? self::y : self::z;
6 static field dynamic y = () → dynamic => self::x; 6 static field dynamic y = () → dynamic => self::x;
7 static field dynamic z = () → dynamic => self::x; 7 static field dynamic z = () → dynamic => self::x;
8 static method f() → core::bool 8 static method f() → core::bool
9 return null; 9 return null;
10 static method main() → dynamic {} 10 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698