Files
kotlin-fork/idea/testData/inspectionsLocal/replaceSubstring/withTake/constantAsFirstArgument.kt
T

8 lines
103 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
const val x = 0
fun foo(s: String) {
s.substring<caret>(x, 10)
}