41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
13 lines
206 B
Kotlin
13 lines
206 B
Kotlin
abstract class Foo<T> {
|
|
fun hello(id: T) = "Hi $id"
|
|
}
|
|
|
|
trait Tr {
|
|
fun hello(s : String)
|
|
}
|
|
|
|
class Bar: Foo<String>(), Tr {
|
|
}
|
|
|
|
fun box(): String = if (Bar().hello("Reg") == "Hi Reg") "OK" else "Fail"
|