Files
kotlin-fork/idea/testData/intentions/replaceSizeCheckWithIsNotEmpty/primitiveArray.kt.after
T
Alexander Udalov 2076a31094 Improve Collection/Array/String detection logic in intentions
Use static methods from KotlinBuiltIns and check all supertypes, support cases
of Collection, Map and CharSequence
2016-10-24 15:30:39 +03:00

7 lines
82 B
Plaintext
Vendored

// WITH_RUNTIME
fun foo() {
val a = intArrayOf(1, 2, 3)
a.isNotEmpty()
}