You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
In online Kotlin Koans https://try.kotlinlang.org at task 5/42 'Lambdas' when I type:
fun containsEven(collection: Collection<Int>): Boolean = collection.any { i -> i/2 == 0 }
I pass the test but I shouldn't.
Note that there is i/2 instead of i%2.
DoD
The lambda
i -> i/2 == 0
should not be accepted in this task.The text was updated successfully, but these errors were encountered: