| // Copyright (c) 2025, 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. | |
| var a = 1.clamp(2, 3); | |
| var b = 1.0.clamp(2, 3); | |
| var c = 1.0.clamp(2.0, 3); | |
| var d = 1.0.clamp(2, 3.0); | |
| var e = 1.0.clamp(2.0, 3.0); | |
| final f = 1.clamp(2, 3); | |
| final g = 1.0.clamp(2, 3); | |
| final h = 1.0.clamp(2.0, 3); | |
| final i = 1.0.clamp(2, 3.0); | |
| final j = 1.0.clamp(2.0, 3.0); | |
| void main() {} |