Files
kotlin-fork/idea/testData/inspectionsLocal/replaceSubstring/withSubstringBefore/nonZeroFirstArgument.kt
T
2019-05-29 11:00:28 +07:00

6 lines
98 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun foo(s: String) {
s.substring<caret>(1, s.indexOf('x'))
}