a4c7619c89
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.
14 lines
193 B
Kotlin
Vendored
14 lines
193 B
Kotlin
Vendored
//WITH_RUNTIME
|
|
|
|
import kotlin.test.assertEquals
|
|
|
|
enum class Test {
|
|
OK
|
|
}
|
|
|
|
fun box(): String {
|
|
assertEquals(Test.OK.ordinal, 0)
|
|
assertEquals(Test.OK.name, "OK")
|
|
|
|
return "OK"
|
|
} |