Use default render to check are all errors mentioned in tests. It's far more easier to read.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// IS_AVAILABLE: true
|
||||
// ERROR: <html>None of the following functions can be called with the arguments supplied. <ul><li>bar(<font color=red><b>Int = ...</b></font>, <font color=red><b>(Int) → Int</b></font>) <i>defined in</i> root package</li><li>bar(<font color=red><b>Int</b></font>, <font color=red><b>Int</b></font>, <font color=red><b>(Int) → Int</b></font>) <i>defined in</i> root package</li></ul></html>
|
||||
// ERROR: None of the following functions can be called with the arguments supplied: <br>public fun bar(a: kotlin.Int = ..., f: (kotlin.Int) -> kotlin.Int): kotlin.Unit defined in root package<br>public fun bar(a: kotlin.Int, b: kotlin.Int, f: (kotlin.Int) -> kotlin.Int): kotlin.Unit defined in root package
|
||||
// ERROR: Unresolved reference: it
|
||||
|
||||
fun foo() {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// IS_AVAILABLE: true
|
||||
// ERROR: <html>None of the following functions can be called with the arguments supplied. <ul><li>bar(<font color=red><b>Int = ...</b></font>, <font color=red><b>(Int) → Int</b></font>) <i>defined in</i> root package</li><li>bar(<font color=red><b>Int</b></font>, <font color=red><b>Int</b></font>, <font color=red><b>(Int) → Int</b></font>) <i>defined in</i> root package</li></ul></html>
|
||||
// ERROR: None of the following functions can be called with the arguments supplied: <br>public fun bar(a: kotlin.Int = ..., f: (kotlin.Int) -> kotlin.Int): kotlin.Unit defined in root package<br>public fun bar(a: kotlin.Int, b: kotlin.Int, f: (kotlin.Int) -> kotlin.Int): kotlin.Unit defined in root package
|
||||
// ERROR: Unresolved reference: it
|
||||
|
||||
fun foo() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// IS_APPLICABLE: true
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>kotlin.Int</td></tr><tr><td>Found:</td><td>() → ???</td></tr></table></html>
|
||||
// ERROR: Type mismatch: inferred type is () -> ??? but kotlin.Int was expected
|
||||
// ERROR: No value passed for parameter b
|
||||
// ERROR: Unresolved reference: it
|
||||
fun foo() {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// IS_APPLICABLE: true
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>kotlin.Int</td></tr><tr><td>Found:</td><td>() → ???</td></tr></table></html>
|
||||
// ERROR: Type mismatch: inferred type is () -> ??? but kotlin.Int was expected
|
||||
// ERROR: No value passed for parameter b
|
||||
// ERROR: Unresolved reference: it
|
||||
fun foo() {
|
||||
bar { it }
|
||||
bar<caret> { it }
|
||||
}
|
||||
|
||||
fun bar(a: Int, b: (Int) -> Int) {
|
||||
|
||||
Reference in New Issue
Block a user