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

Side by Side Diff: pkg/front_end/testcases/rasta/typedef.dart.direct.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; 1 library;
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 typedef Foo = () → void; 5 typedef Foo = () → void;
6 static method main() → dynamic { 6 static method main() → dynamic {
7 core::print(() → void); 7 core::print(() → void);
8 let final dynamic #t1 = null in invalid-expression; 8 throw new core::NoSuchMethodError::_withType(null, #Foo, 34, <dynamic>[null].t oList(growable: false), <dynamic, dynamic>{}, null);
9 () → void; 9 let final dynamic #t1 = () → void in #t1.==(null) ?{dynamic} throw new core::N oSuchMethodError::_withType(null, #Foo, 34, <dynamic>[null].toList(growable: fal se), <dynamic, dynamic>{}, null) : null;
10 () → void.call(); 10 () → void.call();
11 } 11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698