4a533168d9
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
15 lines
311 B
Kotlin
Vendored
15 lines
311 B
Kotlin
Vendored
@file:[JvmName("MultifileClass") JvmMultifileClass]
|
|
package test
|
|
|
|
fun p1Fun() {}
|
|
fun String.p1ExtFun() {}
|
|
fun p1ExprFun(): Int = 0
|
|
fun p1FunWithParams(x: Int): Int { return x }
|
|
|
|
val p1Val: Int = 0
|
|
val String.p1ExtVal: Int get() = 0
|
|
var p1Var: Int = 0
|
|
|
|
@Deprecated("deprecated")
|
|
const val annotatedConstVal = 42
|