JVM IR: copy corresponding property+annotations for DefaultImpls methods
Instead of using methodSignatureMapper which was an obsolete hack to make accessor names "getFoo" instead of "<get-foo>". In particular, this keeps the `@Deprecated` annotation on the corresponding property, which results in ACC_DEPRECATED in codegen. #KT-43326 Fixed
This commit is contained in:
@@ -51,3 +51,8 @@ var <T> List<T>.textGenExtVar
|
||||
get() = 1
|
||||
set(v) {}
|
||||
|
||||
interface I {
|
||||
@Deprecated("")
|
||||
val <T> T.id: T
|
||||
get() = this
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user