| Index: pkg/front_end/testcases/inference/null_literal_should_not_infer_as_bottom.dart
|
| diff --git a/pkg/front_end/testcases/inference/null_literal_should_not_infer_as_bottom.dart b/pkg/front_end/testcases/inference/null_literal_should_not_infer_as_bottom.dart
|
| index d8699ea4c4993df624ec8457a2d8ad3ed953dd59..27b6645ab79534e35b968ad69c3707eb80ca6870 100644
|
| --- a/pkg/front_end/testcases/inference/null_literal_should_not_infer_as_bottom.dart
|
| +++ b/pkg/front_end/testcases/inference/null_literal_should_not_infer_as_bottom.dart
|
| @@ -8,7 +8,7 @@ library test;
|
| var /*@topType=dynamic*/ h = null;
|
| void foo(int f(Object _)) {}
|
|
|
| -main() {
|
| +test() {
|
| var /*@type=(Object) -> dynamic*/ f = /*@returnType=dynamic*/ (Object x) =>
|
| null;
|
| String y = /*info:DYNAMIC_CAST*/ f(42);
|
| @@ -26,3 +26,5 @@ main() {
|
| foo(/*@returnType=<BottomType>*/ (/*@type=Object*/ x) =>
|
| throw "not implemented");
|
| }
|
| +
|
| +main() {}
|
|
|