| Index: pkg/front_end/testcases/inference/infer_from_variables_in_cycle_libs_when_flag_is_on.dart
|
| diff --git a/pkg/front_end/testcases/inference/infer_from_variables_in_cycle_libs_when_flag_is_on.dart b/pkg/front_end/testcases/inference/infer_from_variables_in_cycle_libs_when_flag_is_on.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7d5f8010dc8c27f77581d486e8f27bc44e67d236
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/infer_from_variables_in_cycle_libs_when_flag_is_on.dart
|
| @@ -0,0 +1,16 @@
|
| +// 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_from_variables_in_cycle_libs_when_flag_is_on_a.dart';
|
| +
|
| +var /*@topType=dynamic*/ y = x; // now ok :)
|
| +
|
| +test1() {
|
| + int t = 3;
|
| + t = x;
|
| + t = y;
|
| +}
|
|
|