Index: pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart.direct.expect b/pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..357bc5c3300f105ad9bac8585f37d668631b8990 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart.direct.expect |
@@ -0,0 +1,10 @@ |
+library test; |
+import self as self; |
+ |
+static method test1() → dynamic { |
+ dynamic x = <dynamic>[null]; |
+ x.add(42); |
+} |
+static method main() → dynamic { |
+ self::test1(); |
+} |