Delete generated test cases, move testData to boxWithStdlib

This commit is contained in:
Alexander Udalov
2013-02-07 21:14:53 +04:00
committed by Alexander Udalov
parent b311255d96
commit 714708eac7
84 changed files with 2 additions and 606 deletions
@@ -0,0 +1,15 @@
class Bar(val name: String)
abstract class Foo {
public abstract fun foo(): String
}
fun box(): String {
return object: Foo() {
inner data class NestedFoo(val bar: Bar)
override fun foo(): String {
return NestedFoo(Bar("Fail")).copy(bar = Bar("OK")).bar.name
}
}.foo()
}