efa3bf9c69
I found these tests only _after_ the previous changes, so I needed to merge and/or remove redundant tests.
10 lines
181 B
Plaintext
Vendored
10 lines
181 B
Plaintext
Vendored
// "Add non-null asserted (!!) call" "true"
|
|
class Some {
|
|
operator fun iterator(): Iterator<Int> = null!!
|
|
}
|
|
|
|
fun foo() {
|
|
val test: Some? = Some()
|
|
for (i in test!!) { }
|
|
}
|