Mark required call with 'caret' in abstract resolved calls test
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T, S, R> foo(t: T, f: (T) -> S, g: (S) -> R) {}
|
||||
|
||||
|
||||
fun test() {
|
||||
foo(1, { x -> "$x"}, { y -> y.length })
|
||||
<caret>foo(1, { x -> "$x"}, { y -> y.length })
|
||||
}
|
||||
@@ -1,10 +1,8 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T, S, R> foo(t: T, f: (T) -> S, g: (S) -> R) {}
|
||||
|
||||
|
||||
fun test() {
|
||||
foo(1, { x -> "$x"}, { y -> y.length })
|
||||
<caret>foo(1, { x -> "$x"}, { y -> y.length })
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(f: () -> T) {}
|
||||
|
||||
fun test() {
|
||||
foo { b }
|
||||
<caret>foo { b }
|
||||
}
|
||||
+1
-3
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(f: () -> T) {}
|
||||
|
||||
fun test() {
|
||||
foo { b }
|
||||
<caret>foo { b }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(f: (T) -> String) {}
|
||||
|
||||
fun test() {
|
||||
foo { x -> "$x"}
|
||||
<caret>foo { x -> "$x"}
|
||||
}
|
||||
+1
-3
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(f: (T) -> String) {}
|
||||
|
||||
fun test() {
|
||||
foo { x -> "$x"}
|
||||
<caret>foo { x -> "$x"}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(f: (T) -> String) {}
|
||||
|
||||
fun test() {
|
||||
foo { (x: Int) -> "$x"}
|
||||
<caret>foo { (x: Int) -> "$x"}
|
||||
}
|
||||
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(f: (T) -> String) {}
|
||||
|
||||
fun test() {
|
||||
foo { (x: Int) -> "$x"}
|
||||
<caret>foo { (x: Int) -> "$x"}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun foo(f: (Int) -> String) {}
|
||||
|
||||
fun test() {
|
||||
foo { x -> "$x"}
|
||||
<caret>foo { x -> "$x"}
|
||||
}
|
||||
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun foo(f: (Int) -> String) {}
|
||||
|
||||
fun test() {
|
||||
foo { x -> "$x"}
|
||||
<caret>foo { x -> "$x"}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun foo() {}
|
||||
|
||||
fun test() {
|
||||
foo { x -> "$x"}
|
||||
<caret>foo { x -> "$x"}
|
||||
}
|
||||
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun foo() {}
|
||||
|
||||
fun test() {
|
||||
foo { x -> "$x"}
|
||||
<caret>foo { x -> "$x"}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user