KT-1600: call to non-overriden generic method

This commit is contained in:
Alex Tkachman
2012-05-10 16:45:34 +03:00
parent 711e61cd06
commit 6d2deaa70c
3 changed files with 17 additions and 0 deletions
@@ -0,0 +1,8 @@
abstract class Foo<T> {
fun hello(id: T) = "O$id"
}
class Bar: Foo<String>() {
}
fun box() = Bar().hello("K")