Add intention to replace Math.max/min with coerceAtLeast/coerceAtMost #KT-13945 Fixed

This commit is contained in:
shiraji
2016-09-23 13:33:58 +09:00
committed by Mikhail Glukhikh
parent 4522d2c7da
commit 3aedf0d79f
33 changed files with 339 additions and 6 deletions
@@ -0,0 +1,10 @@
// WITH_RUNTIME
// IS_APPLICABLE: false
fun foo() {
Math.max(1, 2)<caret>
}
object Math {
fun max(a: Int, b: Int) = 0
}