| Index: pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.dart
|
| diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a9243a65eb4bcc017a358aff15d4a5f1a0fd850f
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.dart
|
| @@ -0,0 +1,14 @@
|
| +// 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;
|
| +
|
| +main() {
|
| + var /*@type=() → (int x) → double*/ f = /*@returnType=(int x) → double*/ () {
|
| + return /*@returnType=double*/ (int x) {
|
| + return 2.0 * x;
|
| + };
|
| + };
|
| +}
|
|
|