Checking type of the collection being iterated
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
import java.util.*
|
||||
|
||||
fun foo(): List<Int> {
|
||||
val <caret>result = (1..10).filter { it % 3 == 0 }
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user