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:
committed by
Yan Zhulanow
parent
cb9dc21649
commit
415acfbd05
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user