mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
in multifile part members - invocation of multifile part/facade members (TODO: deserialized descriptor case) - inlining of multifile part/facade members (TODO: inline against binaries case)
23 lines
597 B
Kotlin
Vendored
23 lines
597 B
Kotlin
Vendored
@file:[JvmName("Util") JvmMultifileClass]
|
|
package test
|
|
|
|
fun foo() {
|
|
privateInThisFile()
|
|
internalInThisFile()
|
|
publicInThisFile()
|
|
internalInOtherFile()
|
|
publicInOtherFile()
|
|
}
|
|
|
|
private fun privateInThisFile() {}
|
|
|
|
internal fun internalInThisFile() {}
|
|
|
|
public fun publicInThisFile() {}
|
|
|
|
// @test/1ThisFileKt.class:
|
|
// 1 INVOKESTATIC test/1ThisFileKt.privateInThisFile
|
|
// 1 INVOKESTATIC test/1ThisFileKt.internalInThisFile
|
|
// 1 INVOKESTATIC test/1ThisFileKt.publicInThisFile
|
|
// 1 INVOKESTATIC test/1OtherFileKt.internalInOtherFile
|
|
// 1 INVOKESTATIC test/1OtherFileKt.publicInOtherFile |