mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
198 B
Kotlin
Vendored
11 lines
198 B
Kotlin
Vendored
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;\(\)
|