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
+5 -4
View File
@@ -1,20 +1,21 @@
// FLOW: IN
// WITH_RUNTIME
open class C {
var other: C? = null
private var other: C? = null
fun foo(p: Int) {
open fun foo(p: Int) {
println(p + 1)
other?.bar(p + 1)
}
fun bar(p: Int) {
open fun bar(p: Int) {
println(<caret>p + 2)
}
}
class D : C() {
var other: D? = null
private var other: D? = null
override fun foo(p: Int) {
println(p + 3)