test for KT-1939
#KT-1939 fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user