Files
kotlin-fork/compiler/testData/codegen/box/annotations/selfReferentialAnnotation.kt
T
Pavel Kunyavskiy cd409abfd8 [Fir2IR] Fix dispatch receiver of fake override lazy function
After the fix, it's at least consistent with what generated
for other fake overrides.

^KT-61386
2023-09-21 13:09:32 +00:00

17 lines
365 B
Kotlin
Vendored

// FIR_DUMP
// DUMP_IR
annotation class Ann(@Ann(1) val e: Int)
@MyRequiresOptIn("", MyRequiresOptIn.MyLevel.ERROR)
public annotation class MyRequiresOptIn(
val a: String = "",
@MyRequiresOptIn("", MyRequiresOptIn.MyLevel.WARNING) val b: MyLevel = MyLevel.ERROR
) {
public enum class MyLevel {
WARNING,
ERROR,
}
}
fun box() = "OK"