| Index: pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
|
| diff --git a/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d7fe65b049c635d6f7e7851c8225dfcc33d96c24
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
|
| @@ -0,0 +1,12 @@
|
| +// 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;
|
| +
|
| +T f<S, T>(S s) => null;
|
| +main() {
|
| + String x = f(42);
|
| + String y = (f)(42);
|
| +}
|
|
|