8988b4b344
Relates to #KT-31502
7 lines
104 B
Kotlin
Vendored
7 lines
104 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
class A(val x: String)
|
|
|
|
fun foo(a: A) {
|
|
a.x.substring<caret>(0, a.x.indexOf('x'))
|
|
} |