java Iterable/Iterator replaced to jet ones
in completion, js tests
This commit is contained in:
@@ -9,6 +9,6 @@ fun firstFun() {
|
||||
|
||||
// RUNTIME: 1
|
||||
// TIME: 1
|
||||
// EXIST: toLinkedList@toLinkedList()~for java.lang.Iterable<T> in kotlin
|
||||
// EXIST: toLinkedList@toLinkedList()~for jet.Iterable<T> in kotlin
|
||||
// EXIST: toLinkedList@toLinkedList()~for T? in kotlin.nullable
|
||||
// NUMBER: 2
|
||||
@@ -1,4 +1,4 @@
|
||||
fun <T> java.lang.Iterable<T>.first() : T? {
|
||||
fun <T> Iterable<T>.first() : T? {
|
||||
return this.iterator()?.next()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user