Added correctness check of test data + fixed huge amount of incorrect code in test data

This commit is contained in:
Valentin Kipyatkov
2020-04-10 20:32:13 +03:00
parent c19a16f1e0
commit f0d4d7bb86
139 changed files with 535 additions and 448 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
// FLOW: IN
fun foo(f: (Int) -> Unit): Int {
return f(1)
fun foo(f: (Int) -> Unit) {
f(1)
}
fun test() {
foo {
println(<caret>it)
val v = <caret>it
}
}