Merge ReplaceMathMaxWithCoerceAtLeastIntention & ReplaceMathMinWithCoerceAtMostIntention with ReplaceJavaStaticMethodWithKotlinAnalogInspection
Relates to #KT-31502
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// FIX: Replace with `coerceAtLeast` function
|
||||
// WITH_RUNTIME
|
||||
fun test(x: Double, y: Double) {
|
||||
x.coerceAtLeast(y)
|
||||
}
|
||||
Reference in New Issue
Block a user