41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
10 lines
164 B
Kotlin
10 lines
164 B
Kotlin
trait Flusher {
|
|
fun flush() = "OK"
|
|
}
|
|
|
|
fun myFlusher() = object : Flusher { }
|
|
|
|
fun flushIt(flusher: Flusher) = flusher.flush()
|
|
|
|
fun box() = flushIt(myFlusher())
|