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:
Alexander Udalov
2020-11-13 19:54:30 +01:00
parent 5212ae6bbd
commit a3830b2611
5 changed files with 25 additions and 7 deletions
@@ -51,3 +51,8 @@ var <T> List<T>.textGenExtVar
get() = 1
set(v) {}
interface I {
@Deprecated("")
val <T> T.id: T
get() = this
}