Delete generated test cases, move testData to boxWithStdlib
This commit is contained in:
committed by
Alexander Udalov
parent
b311255d96
commit
714708eac7
@@ -0,0 +1,11 @@
|
||||
open data class A(open val x: String)
|
||||
|
||||
class B : A("Fail") {
|
||||
override val x: String = "OK"
|
||||
}
|
||||
|
||||
fun foo(a: A) = a.component1()
|
||||
|
||||
fun box(): String {
|
||||
return foo(B())
|
||||
}
|
||||
Reference in New Issue
Block a user