blob: ad300dc796e90b4fa1342db88cc9b2cb98f3a00e [file]
abstract class Foo<T> {
fun hello(id: T) = "Hi $id"
}
interface Tr {
fun hello(s : String): String
}
class Bar: Foo<String>(), Tr {
}
fun box(): String = if (Bar().hello("Reg") == "Hi Reg") "OK" else "Fail"