b2e98e9353
Code review fixes #KT-10196 Fixed
10 lines
158 B
Kotlin
Vendored
10 lines
158 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// IS_APPLICABLE: false
|
|
|
|
class A() {
|
|
fun bar(): String = null!!
|
|
}
|
|
|
|
fun foo(a: A) {
|
|
a.bar().substring<caret>(0, a.bar().indexOf('x'))
|
|
} |