c472c9facd
access in extension function. ^KTIJ-10052 Fixed
12 lines
179 B
Kotlin
Vendored
12 lines
179 B
Kotlin
Vendored
// "Add non-null asserted (!!) call" "true"
|
|
// WITH_RUNTIME
|
|
|
|
class C {
|
|
val list: List<String>? = null
|
|
}
|
|
|
|
// Test for KTIJ-10052
|
|
fun C.test() {
|
|
for (s in <caret>list) {}
|
|
}
|