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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/rasta/typedef.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/typedef.dart.direct.expect b/pkg/front_end/testcases/rasta/typedef.dart.direct.expect
index 32d4fa280cb55c210c561c9a374c3adf5b8cf133..37303fc891ac85f7badb5793cf5609a21524c2b7 100644
--- a/pkg/front_end/testcases/rasta/typedef.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/typedef.dart.direct.expect
@@ -5,7 +5,7 @@ import "dart:core" as core;
typedef Foo = () → void;
static method main() → dynamic {
core::print(() → void);
- let final dynamic #t1 = null in invalid-expression;
- () → void;
+ throw new core::NoSuchMethodError::_withType(null, #Foo, 34, <dynamic>[null].toList(growable: false), <dynamic, dynamic>{}, null);
+ let final dynamic #t1 = () → void in #t1.==(null) ?{dynamic} throw new core::NoSuchMethodError::_withType(null, #Foo, 34, <dynamic>[null].toList(growable: false), <dynamic, dynamic>{}, null) : null;
() → void.call();
}

Powered by Google App Engine
This is Rietveld 408576698