Files
kotlin/idea/testData/decompiler/decompiledTextJvm/MultifileClass/MultifileClass.kt
Alexander Udalov 4a533168d9 Rework const val generation in multifile classes
Do not query MultifileClassCodegen#classBuilder early on: this causes the class
file for the facade to be prematurely dumped to the disk in some cases, when
that class file is not yet completely generated. Instead fork the logic in
PropertyCodegen#generateSyntheticMethodIfNeeded: save metadata in parts,
generate method in the facade
2016-03-29 17:53:32 +03:00

15 lines
298 B
Kotlin
Vendored

@file:JvmName("MultifileClass")
@file:JvmMultifileClass
package test
public val val1a = 42
private val String.val2a: Int get() = 0
public fun fn1a() {}
public fun String.fn2a() {}
class ShouldNotBeVisible1
interface ShouldNotBeVisible2
@Deprecated("deprecated")
const val annotatedConstVal = 42