KT-3302 Method that implements two differing interfaces are reported as "Incompatible types in superclasses"

#KT-3302 fixed
This commit is contained in:
Evgeny Gerashchenko
2013-01-31 18:57:40 +04:00
parent 0f401d4c9d
commit 74771cb2db
36 changed files with 695 additions and 1 deletions
@@ -0,0 +1,16 @@
package test
public trait DeeplySubstitutedClassParameter: Object {
public trait Super<T>: Object {
public fun foo(p0: T)
}
public trait Middle<E>: Super<E> {
override fun foo(p0: E)
}
public trait Sub: Middle<String> {
override fun foo(p0: String)
}
}