Index: pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.dartk.expect |
diff --git a/pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.dartk.expect b/pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.dartk.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a77c338cbc0ece3fdb26d65c5d20f91ff19446c2 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/coerce_bottom_and_null_types.dart.dartk.expect |
@@ -0,0 +1,21 @@ |
+library test; |
+import self as self; |
+ |
+static method f() → dynamic { |
+ dynamic a = 0; |
+ dynamic b = null; |
+ dynamic c = throw "foo"; |
+ dynamic d = () → dynamic => 0; |
+ dynamic e = () → dynamic => null; |
+ dynamic f = () → dynamic => throw "foo"; |
+ dynamic g = () → dynamic { |
+ return 0; |
+ }; |
+ dynamic h = () → dynamic { |
+ return null; |
+ }; |
+ dynamic i = () → dynamic { |
+ return throw "foo"; |
+ }; |
+} |
+static method main() → dynamic {} |