| Index: tests/compiler/dart2js/call_site_type_inferer_test.dart
|
| diff --git a/tests/compiler/dart2js/call_site_type_inferer_test.dart b/tests/compiler/dart2js/call_site_type_inferer_test.dart
|
| index 49e021506c985195c9effd961470f8bb91be8850..7c0a85e5b0ae3c380e45b24c843b802452196564 100644
|
| --- a/tests/compiler/dart2js/call_site_type_inferer_test.dart
|
| +++ b/tests/compiler/dart2js/call_site_type_inferer_test.dart
|
| @@ -128,6 +128,17 @@ const String TEST_12 = @"""
|
| }
|
| """;
|
|
|
| +const String TEST_13 = @"""
|
| + class A {
|
| + x(p) => 1;
|
| + }
|
| + f(p) => p.x(2.2);
|
| + main() {
|
| + new A().x(1);
|
| + f(null);
|
| + }
|
| +""";
|
| +
|
| void runTest(String test, [List<HType> expectedTypes = null]) {
|
| compileAndFind(
|
| test,
|
| @@ -157,6 +168,7 @@ void test() {
|
| runTest(TEST_10);
|
| runTest(TEST_11);
|
| runTest(TEST_12);
|
| + runTest(TEST_13, [HType.NUMBER]);
|
| }
|
|
|
| void main() {
|
|
|