Add intention to replace Math.max/min with coerceAtLeast/coerceAtMost #KT-13945 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
4522d2c7da
commit
3aedf0d79f
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import java.lang.Math.min
|
||||
|
||||
fun foo() {
|
||||
min(1, 2)<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user