Kapt: asMemberOf() should also check the containing type itself, not only its supertypes (KT-13823)

(cherry picked from commit 9f9ffdf)
This commit is contained in:
Yan Zhulanow
2016-09-15 22:24:50 +03:00
committed by Yan Zhulanow
parent cb9dc21649
commit 415acfbd05
3 changed files with 15 additions and 3 deletions
@@ -5,7 +5,9 @@ open class Base<T> {
fun m(t: T): T = null!!
}
class Impl<T> : Base<T>()
class Impl<T> : Base<T>() {
fun implM(t: T): T = null!!
}
annotation class Anno