| Index: test/codegen/corelib/list_filled_type_argument_test.dart
|
| diff --git a/test/codegen/language/call_argument_inference_test.dart b/test/codegen/corelib/list_filled_type_argument_test.dart
|
| similarity index 53%
|
| copy from test/codegen/language/call_argument_inference_test.dart
|
| copy to test/codegen/corelib/list_filled_type_argument_test.dart
|
| index 0af5537d58ddb8eacad9f37bbbb5e0adc8295f3c..1c3aff49e8db2ebe7e8286ed9f5cfe4670fddbda 100644
|
| --- a/test/codegen/language/call_argument_inference_test.dart
|
| +++ b/test/codegen/corelib/list_filled_type_argument_test.dart
|
| @@ -4,11 +4,12 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -class A {
|
| - call(a) => a is num;
|
| -}
|
| -
|
| main() {
|
| - Expect.isTrue(new A().call(42));
|
| - Expect.isFalse(new A()('foo'));
|
| + var a = new List<int>.filled(42, 42);
|
| + Expect.isTrue(a is List<int>);
|
| + Expect.isFalse(a is List<String>);
|
| +
|
| + a = new List<int>.filled(42, 42, growable: true);
|
| + Expect.isTrue(a is List<int>);
|
| + Expect.isFalse(a is List<String>);
|
| }
|
|
|