Use empty list instead of ThrowingList in callable reference resolution
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
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// !DIAGNOSTICS_NUMBER: 1
|
||||
// !DIAGNOSTICS: NONE_APPLICABLE
|
||||
|
||||
fun filterChars(chars: List<Char>, str: String) =
|
||||
chars.filter(str::contains)
|
||||
Reference in New Issue
Block a user