Chromium Code Reviews| Index: pkg/front_end/testcases/inference/dont_infer_type_on_dynamic.dart.direct.expect |
| diff --git a/pkg/front_end/testcases/inference/dont_infer_type_on_dynamic.dart.direct.expect b/pkg/front_end/testcases/inference/dont_infer_type_on_dynamic.dart.direct.expect |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6fc489d5fd2742545772d67c3faf322636ee3002 |
| --- /dev/null |
| +++ b/pkg/front_end/testcases/inference/dont_infer_type_on_dynamic.dart.direct.expect |
| @@ -0,0 +1,10 @@ |
| +library test; |
| +import self as self; |
| + |
| +static method test() → dynamic { |
| + dynamic x = 3; |
| + x = "hi"; |
| +} |
| +static method main() → dynamic { |
| + self::test(); |
| +} |