- InnerClasses & EnclosingMethod attributes for local classes
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)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@file:[JvmName("Util") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
internal fun internalInOtherFile() {}
|
||||
public fun publicInOtherFile() {}
|
||||
@@ -0,0 +1,23 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user