2e5b783cc6
Previously, the semantic was more-or-less correct for most of the cases but some corner one, like `sort` in MutableList didn't work properly. Namely, `sort` should be marked there in a way to forbid to call it everywhere beside super-calls. Also, overriding it should be allowed. Mostly, the logic was re-written to K2 model from K1-related JvmBuiltInsCustomizer. ^KT-57694 In progress ^KT-57269 Fixed
8 lines
155 B
Kotlin
Vendored
8 lines
155 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
enum class E {
|
|
ENTRY;
|
|
|
|
fun <!VIRTUAL_MEMBER_HIDDEN!>getDeclaringClass<!>() {}
|
|
fun <!VIRTUAL_MEMBER_HIDDEN!>finalize<!>() {}
|
|
}
|