| Index: pkg/front_end/testcases/function_type_is_check.dart.strong.expect
|
| diff --git a/pkg/front_end/testcases/function_type_is_check.dart.strong.expect b/pkg/front_end/testcases/function_type_is_check.dart.strong.expect
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..47e328147ee916b26313e3590fe1d5d8b6957b45
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/function_type_is_check.dart.strong.expect
|
| @@ -0,0 +1,16 @@
|
| +library;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +import "package:expect/expect.dart" as exp;
|
| +
|
| +static method test(dynamic f) → dynamic {
|
| + if(f is (core::Object, core::StackTrace) → void)
|
| + return 1;
|
| + if(f is (core::Object) → void)
|
| + return 10;
|
| + if(f is () → void)
|
| + return 100;
|
| +}
|
| +static method main() → dynamic {
|
| + exp::Expect::equals(111, self::test(() → dynamic => null).+(self::test((core::Object o) → dynamic => null)).+(self::test((core::Object o, core::StackTrace t) → dynamic => null)));
|
| +}
|
|
|