Intention tests: skip errors check for tests that fix some error
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// IS_AVAILABLE: true
|
||||
// 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
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
fun foo() {
|
||||
bar(<caret>{ it })
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
// IS_AVAILABLE: true
|
||||
// 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
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
fun foo() {
|
||||
bar<caret> { it }
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// ERROR: Type mismatch: inferred type is () -> ??? but kotlin.Int was expected
|
||||
// ERROR: No value passed for parameter b
|
||||
// ERROR: Unresolved reference: it
|
||||
// SKIP_ERRORS_AFTER
|
||||
fun foo() {
|
||||
bar({ it <caret>})
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// ERROR: Type mismatch: inferred type is () -> ??? but kotlin.Int was expected
|
||||
// ERROR: No value passed for parameter b
|
||||
// ERROR: Unresolved reference: it
|
||||
// SKIP_ERRORS_AFTER
|
||||
fun foo() {
|
||||
bar<caret> { it }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user