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,9 @@
|
||||
<!-- noneApplicableCallableReference1 -->
|
||||
<html>
|
||||
None of the following functions can be called with the arguments supplied.
|
||||
<ul>
|
||||
<li>CharSequence.contains(<font color=red><b>Char</b></font>, <font color=red><b>Boolean = ...</b></font>) <i>defined in</i> kotlin.text</li>
|
||||
<li>CharSequence.contains(<font color=red><b>CharSequence</b></font>, <font color=red><b>Boolean = ...</b></font>) <i>defined in</i> kotlin.text</li>
|
||||
<li>CharSequence.contains(<font color=red><b>Regex</b></font>) <i>defined in</i> kotlin.text</li>
|
||||
</ul>
|
||||
</html>
|
||||
Reference in New Issue
Block a user