Improved error reporting for candidates with wrong parameter count
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
// WITH_RUNTIME
|
||||
// ERROR: No value passed for parameter value
|
||||
// ERROR: <html>None of the following functions can be called with the arguments supplied. <ul><li>assert(<font color=red><b>Boolean</b></font>, () → Any) <i>defined in</i> kotlin</li><li>assert(<font color=red><b>Boolean</b></font>, Any = ...) <i>defined in</i> kotlin</li></ul></html>
|
||||
|
||||
fun foo() {
|
||||
<caret>assert { "text" }
|
||||
}
|
||||
Reference in New Issue
Block a user