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,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,7 +1,5 @@
// !CALL: foo
fun <T> foo(f: () -> T) {}
fun test() {
foo { b }
<caret>foo { b }
}
@@ -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,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"}
}