Files
kotlin/compiler/testData/codegen/bytecodeListing/annotations/noAnnotationsInSyntheticAccessors.kt
Dmitry Petrov 4739adb6dc KT-36992 Do not generate annotations on synthetic accessors
Also, do not generate nullability annotations on synthetic methods.
2020-06-17 23:54:51 +03:00

13 lines
219 B
Kotlin
Vendored

annotation class Ann
class Foo private @Ann constructor(@Ann s: String) {
@Ann
private fun foo(@Ann s: String) {}
companion object {
fun foo() {
Foo("123").foo("456")
}
}
}