Improve: intention "Introduce Import Alias" should suggest new names for the new alias

#KT-30456 Fixed
This commit is contained in:
Dmitry Gridin
2019-03-18 22:57:51 +07:00
parent ff34788eb3
commit 9659453351
3 changed files with 70 additions and 36 deletions
@@ -1,7 +1,7 @@
import kotlin.Int.Companion as Companion1
import kotlin.Int.Companion as Int1
// WITH_RUNTIME
fun foo() {
val max = Companion1.MAX_VALUE
val max2 = Companion1.MAX_VALUE
val max = Int1.MAX_VALUE
val max2 = Int1.MAX_VALUE
}