mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
Clients of the call resolution do not expect to see a throwing list in call's arguments, and it's wrong to make each of them check against the special case that is the resolution of callable references Fixes EA-69901
6 lines
146 B
Kotlin
Vendored
6 lines
146 B
Kotlin
Vendored
// !DIAGNOSTICS_NUMBER: 1
|
|
// !DIAGNOSTICS: NONE_APPLICABLE
|
|
|
|
fun filterChars(chars: List<Char>, str: String) =
|
|
chars.filter(str::contains)
|