| Index: pkg/front_end/testcases/inference/infer_statics_with_method_invocations.dart
|
| diff --git a/pkg/front_end/testcases/inference/infer_statics_with_method_invocations.dart b/pkg/front_end/testcases/inference/infer_statics_with_method_invocations.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..859264f5a778534e6e9948e28a47405658df975f
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/infer_statics_with_method_invocations.dart
|
| @@ -0,0 +1,19 @@
|
| +// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +/*@testedFeatures=inference*/
|
| +library test;
|
| +
|
| +import 'infer_statics_with_method_invocations_a.dart';
|
| +
|
| +class T {
|
| + static final T foo = m1(m2(m3('', '')));
|
| + static T m1(String m) {
|
| + return null;
|
| + }
|
| +
|
| + static String m2(e) {
|
| + return '';
|
| + }
|
| +}
|
|
|