| Index: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.dart
|
| diff --git a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.dart b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..94d13b6b535861fb9ebc0bc55fbb6fffad452a2b
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.dart
|
| @@ -0,0 +1,17 @@
|
| +// 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;
|
| +
|
| +class C<T extends num> {
|
| + T a;
|
| +
|
| + void op(double b) {
|
| + double r1 = a + b;
|
| + double r2 = a - b;
|
| + double r3 = a * b;
|
| + double r4 = a / b;
|
| + }
|
| +}
|
|
|