Added correctness check of test data + fixed huge amount of incorrect code in test data
This commit is contained in:
+5
-4
@@ -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(<caret>p: Int) {
|
||||
open fun bar(<caret>p: Int) {
|
||||
println(p + 2)
|
||||
}
|
||||
}
|
||||
|
||||
class D : C() {
|
||||
var other: D? = null
|
||||
private var other: D? = null
|
||||
|
||||
override fun foo(p: Int) {
|
||||
println(p + 3)
|
||||
|
||||
Reference in New Issue
Block a user