Replaced sure() invocations with '!!' operator in diagnostic tests.
This commit is contained in:
@@ -14,7 +14,7 @@ fun <T : Any> T?.iterator() = object {
|
||||
fun next() : T {
|
||||
if (hasNext) {
|
||||
hasNext = false
|
||||
return this@iterator.sure()
|
||||
return this@iterator!!
|
||||
}
|
||||
throw java.util.NoSuchElementException()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user