mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Without this commit, JVM name mapping logic in BE does not work for FIR, because FIR cannot use old BuiltInsPackageFragmentImpl descriptor. In this commit we add our own implementation thus fixing a pack of FIR black box tests.
12 lines
212 B
Kotlin
Vendored
12 lines
212 B
Kotlin
Vendored
// !LANGUAGE: +NestedClassesInAnnotations
|
|
// IGNORE_BACKEND: NATIVE
|
|
|
|
annotation class Foo(val kind: Kind) {
|
|
enum class Kind { FAIL, OK }
|
|
}
|
|
|
|
@Foo(Foo.Kind.OK)
|
|
fun box(): String {
|
|
return Foo.Kind.OK.name
|
|
}
|