Don't allow fake override to inherit implementation with wrong return type

#KT-4763 Fixed
This commit is contained in:
Alexander Udalov
2014-03-28 23:09:52 +04:00
parent 05a04293ab
commit 9760f30c99
10 changed files with 128 additions and 18 deletions
@@ -1,5 +1,5 @@
trait A {
fun foo(): Object
fun foo(): Any
}
open class B {