Migrate bytecode text tests to multi-file framework
Get rid of BytecodeTextMultifileTestGenerated
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// FILE: otherFile.kt
|
||||
|
||||
@file:[JvmName("Util") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
public fun publicInOtherFile() {}
|
||||
|
||||
// FILE: thisFile.kt
|
||||
|
||||
@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
|
||||
Reference in New Issue
Block a user