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
240 B
Kotlin
Vendored
14 lines
240 B
Kotlin
Vendored
// KJS_WITH_FULL_RUNTIME
|
|
// IGNORE_BACKEND: NATIVE
|
|
|
|
class A : ArrayList<String>() {
|
|
override val size: Int get() = super.size + 56
|
|
}
|
|
|
|
fun box(): String {
|
|
val a = A()
|
|
if (a.size != 56) return "fail: ${a.size}"
|
|
|
|
return "OK"
|
|
}
|