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

Side by Side Diff: pkg/front_end/testcases/inference/infer_throw.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 t = true; 5 static field core::bool t = true;
6 static field dynamic a = throw 0; 6 static field dynamic a = throw 0;
7 static field core::int b = (throw 0) ? 1 : 2; 7 static field core::int b = (throw 0) ?{core::int} 1 : 2;
8 static field core::int c = self::t ? throw 1 : 2; 8 static field core::int c = self::t ?{core::int} throw 1 : 2;
9 static field core::int d = self::t ? 1 : throw 2; 9 static field core::int d = self::t ?{core::int} 1 : throw 2;
10 static method main() → dynamic {} 10 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698