mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Fixed wrong owner mapping in presence of -Xmultifile-package-facades. Fixed backing field mapping issue. Added more tests.
18 lines
335 B
Kotlin
Vendored
18 lines
335 B
Kotlin
Vendored
@file:[JvmName("Util") JvmMultifileClass]
|
|
package test
|
|
|
|
inline fun foo(body: () -> Unit) {
|
|
publicInThisFile()
|
|
publicInOtherFile()
|
|
body()
|
|
}
|
|
|
|
public fun publicInThisFile() {}
|
|
|
|
fun bar() {
|
|
foo {}
|
|
}
|
|
|
|
// @test/Util__ThisFileKt.class:
|
|
// 2 INVOKESTATIC test/Util.publicInThisFile
|
|
// 2 INVOKESTATIC test/Util.publicInOtherFile |