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

Side by Side Diff: pkg/front_end/testcases/inference/conditional_lub.dart.strong.expect

Issue 2949753002: Print static types of conditional expressions. (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 core::bool b = true; 5 static field core::bool b = true;
6 static field core::int x = 0; 6 static field core::int x = 0;
7 static field core::double y = 0.0; 7 static field core::double y = 0.0;
8 static field core::num z = self::b ? self::x : self::y; 8 static field core::num z = self::b ?{core::num} self::x : self::y;
9 static method main() → dynamic { 9 static method main() → dynamic {
10 core::num z = self::b ? self::x : self::y; 10 core::num z = self::b ?{core::num} self::x : self::y;
11 } 11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698