Remove generated codegen tests, move all testData to box/
A single test file will be generated out of box/ directory
This commit is contained in:
committed by
Alexander Udalov
parent
41a416da60
commit
7ce62a5b64
@@ -0,0 +1,17 @@
|
||||
class S(val a: String, val b: String) {
|
||||
fun component1() : String = a
|
||||
fun component2() : String = b
|
||||
}
|
||||
|
||||
fun S.component3() = ((a + b) as java.lang.String).substring(2)
|
||||
|
||||
class Tester() {
|
||||
fun box() : String {
|
||||
val (o,k,ok,ok2) = S("O","K")
|
||||
return o + k + ok + ok2
|
||||
}
|
||||
|
||||
fun S.component4() = ((a + b) as java.lang.String).substring(2)
|
||||
}
|
||||
|
||||
fun box() = Tester().box()
|
||||
Reference in New Issue
Block a user