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

Unified Diff: pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.direct.expect

Issue 2958363002: Adjust return types of spec-mode function expressions to match VM. (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/inference/coerce_bottom_and_null_types.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.direct.expect b/pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.direct.expect
index 226fdcbf0c106c6bdcecbcd5ae0778e43692d6d0..a77c338cbc0ece3fdb26d65c5d20f91ff19446c2 100644
--- a/pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.direct.expect
@@ -1,14 +1,13 @@
library test;
import self as self;
-import "dart:core" as core;
static method f() → dynamic {
dynamic a = 0;
dynamic b = null;
dynamic c = throw "foo";
- dynamic d = () → core::int => 0;
+ dynamic d = () → dynamic => 0;
dynamic e = () → dynamic => null;
- dynamic f = () → <BottomType>=> throw "foo";
+ dynamic f = () → dynamic => throw "foo";
dynamic g = () → dynamic {
return 0;
};

Powered by Google App Engine
This is Rietveld 408576698