Quick-fix for DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDE added #KT-15966 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-02-15 20:45:34 +03:00
parent b83b534374
commit 80063b6f91
17 changed files with 349 additions and 9 deletions
@@ -0,0 +1,13 @@
// "Specify override for 'foo(): Unit' explicitly" "true"
interface A {
fun foo()
}
open class B : A {
override fun foo() {}
}
fun bar(a: A) {
class C<caret> : B(), A by a
}