Kotlin Collection Extensions Fail after Version Upgrade
I upgraded kotlin from 1.4.30 to 1.4.31. As soon as I did that, a lot standard kotlin functions fail to resolve. For example:
data class GroupMetadata(val groups: List) {
fun getMatchingGroups(groupId: Int): List {
return groups.filter { it.id == groupId }
}
}
There is no filter method available on this list. Even when I type return groups. there is no option for a filter method.
The docs make no mention of a change to filtering on a collection, so the kotlin plugin must...