Mark required call with 'caret' in abstract resolved calls test
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(t: T, l: List<T>) {}
|
||||
|
||||
fun use(vararg a: Any?) = a
|
||||
|
||||
fun test(a: Any, ls: List<String>) {
|
||||
use(foo(11, ls))
|
||||
use(<caret>foo(11, ls))
|
||||
}
|
||||
@@ -1,11 +1,9 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(t: T, l: List<T>) {}
|
||||
|
||||
fun use(vararg a: Any?) = a
|
||||
|
||||
fun test(a: Any, ls: List<String>) {
|
||||
use(foo(11, ls))
|
||||
use(<caret>foo(11, ls))
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
class A {}
|
||||
|
||||
fun <T> foo(t: T) {}
|
||||
|
||||
fun bar() {
|
||||
foo(A())
|
||||
<caret>foo(A())
|
||||
}
|
||||
@@ -1,11 +1,9 @@
|
||||
// !CALL: foo
|
||||
|
||||
class A {}
|
||||
|
||||
fun <T> foo(t: T) {}
|
||||
|
||||
fun bar() {
|
||||
foo(A())
|
||||
<caret>foo(A())
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(t: T, l: MutableList<T>) {}
|
||||
|
||||
fun use(vararg a: Any?) = a
|
||||
|
||||
fun test(ls: MutableList<String>) {
|
||||
use(foo(11, ls))
|
||||
use(<caret>foo(11, ls))
|
||||
}
|
||||
@@ -1,11 +1,9 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(t: T, l: MutableList<T>) {}
|
||||
|
||||
fun use(vararg a: Any?) = a
|
||||
|
||||
fun test(ls: MutableList<String>) {
|
||||
use(foo(11, ls))
|
||||
use(<caret>foo(11, ls))
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(l: List<T>) {}
|
||||
|
||||
fun test() {
|
||||
foo(11)
|
||||
<caret>foo(11)
|
||||
}
|
||||
+1
-3
@@ -1,9 +1,7 @@
|
||||
// !CALL: foo
|
||||
|
||||
fun <T> foo(l: List<T>) {}
|
||||
|
||||
fun test() {
|
||||
foo(11)
|
||||
<caret>foo(11)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user