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,10 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
fun foo() {
|
||||
Math.min(1, 2)<caret>
|
||||
}
|
||||
|
||||
object Math {
|
||||
fun min(a: Int, b: Int) = 0
|
||||
}
|
||||
Reference in New Issue
Block a user