JVM IR: Don't create $annotations stubs for fake overridden properties

This commit is contained in:
Steven Schäfer
2020-02-19 15:16:16 +01:00
committed by Alexander Udalov
parent 3eed0609b2
commit 2b6a0d6c58
4 changed files with 21 additions and 1 deletions
@@ -0,0 +1,10 @@
annotation class Ann
abstract class Base {
@Ann val x: Int = 0
}
class Derived : Base()
// We only want to generate the `getX$annotations` method in `Base`, not in `Derived`.
// 1 @LAnn;\(\)