| Index: pkg/front_end/testcases/inference/type_promotion_ignores_local_functions.dart.direct.expect
|
| diff --git a/pkg/front_end/testcases/inference/type_promotion_ignores_local_functions.dart.direct.expect b/pkg/front_end/testcases/inference/type_promotion_ignores_local_functions.dart.direct.expect
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..571a2a135ba459f2c539e1e812c3d6e4c0e64520
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/type_promotion_ignores_local_functions.dart.direct.expect
|
| @@ -0,0 +1,11 @@
|
| +library test;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +
|
| +static method main() → dynamic {
|
| + function f() → core::num
|
| + return 0;
|
| + if(f is () → core::int) {
|
| + f;
|
| + }
|
| +}
|
|
|