JVM IR: Don't create $annotations stubs for fake overridden properties
This commit is contained in:
committed by
Alexander Udalov
parent
3eed0609b2
commit
2b6a0d6c58
@@ -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;\(\)
|
||||
Reference in New Issue
Block a user