Don't allow fake override to inherit implementation with wrong return type
#KT-4763 Fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
trait A {
|
||||
fun foo(): Object
|
||||
fun foo(): Any
|
||||
}
|
||||
|
||||
open class B {
|
||||
|
||||
Reference in New Issue
Block a user