554e94a322
Unfortunately, neither descriptors nor Lazy IR have enough information to correctly deduce a enum's modality as psi2ir does, so to avoid the RTTI generator generating different vtables in different setups (whether a klib is cached or not), conservatively consider all enums non-final.
6 lines
185 B
Kotlin
6 lines
185 B
Kotlin
/*
|
|
* Copyright 2010-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
|
* that can be found in the LICENSE file.
|
|
*/
|
|
|
|
fun main() = println(Foo.Z.bar()) |