Mark required call with 'caret' in abstract resolved calls test

This commit is contained in:
Svetlana Isakova
2014-06-05 14:36:31 +04:00
parent 29ab166e1b
commit 48511206ad
78 changed files with 109 additions and 258 deletions
@@ -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,7 +1,5 @@
// !CALL: foo
fun <T> foo(l: List<T>) {}
fun test() {
foo(11)
<caret>foo(11)
}
@@ -1,9 +1,7 @@
// !CALL: foo
fun <T> foo(l: List<T>) {}
fun test() {
foo(11)
<caret>foo(11)
}