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
+1 -4
View File
@@ -1,4 +1,5 @@
// FLOW: OUT
// WITH_RUNTIME
class C {
fun String.extensionFun(): Any {
@@ -13,7 +14,3 @@ class C {
val x = <caret>"".extensionFun()
}
}
inline fun <T, R> with(receiver: T, block: T.() -> R): R {
return receiver.block()
}