KT-3500: ClassFormatError: Duplicate method name&signature in class file && KT-3429: Traits override bug

This commit is contained in:
Mikhael Bogdanov
2013-04-16 18:32:24 +04:00
parent 3da3f94b4e
commit 57b161b08a
15 changed files with 166 additions and 30 deletions
@@ -0,0 +1,10 @@
open class A {
open fun foo() {}
}
trait ATrait : A {
override fun foo() {
<!SUPERCLASS_NOT_ACCESSIBLE_FROM_TRAIT!>super<A><!>.foo()
}
}