Index: pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart |
diff --git a/pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart b/pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart |
index 2b10e456ac1468d1a04d6a6481e83854767bdcec..4132dc079eb50b7108d5658afae1e50bf094ed56 100644 |
--- a/pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart |
+++ b/pkg/front_end/testcases/inference/list_literals_can_infer_null_bottom.dart |
@@ -7,7 +7,8 @@ library test; |
test1() { |
var /*@type=List<Null>*/ x = /*@typeArgs=Null*/ [null]; |
- /*@promotedType=none*/ x.add(/*error:INVALID_CAST_LITERAL*/ 42); |
+ /*@promotedType=none*/ x |
+ . /*@target=List::add*/ add(/*error:INVALID_CAST_LITERAL*/ 42); |
} |
main() { |