0fcb51f0a2
#KT-1478 Fixed
10 lines
186 B
Kotlin
Vendored
10 lines
186 B
Kotlin
Vendored
// "Add non-null asserted (!!) call" "true"
|
|
class Some {
|
|
operator fun iterator(): Iterator<Int> = null!!
|
|
}
|
|
|
|
fun foo() {
|
|
val test: Some? = Some()
|
|
for (i in <caret>test) { }
|
|
}
|