KT-1600: call to non-overriden generic method
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
abstract class Foo<T> {
|
||||
fun hello(id: T) = "O$id"
|
||||
}
|
||||
|
||||
class Bar: Foo<String>() {
|
||||
}
|
||||
|
||||
fun box() = Bar().hello("K")
|
||||
Reference in New Issue
Block a user