Generate multi-files facade even if it's empty
It still contains useful information about it's parts, that may be used while building stubs for multi-file group containing only InlineOnly functions
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@file:[JvmName("Foo") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
// This test checks that we generate empty multi-file facade even if there is no delegates within it (only private functions in packages)
|
||||
private fun privateOnly() {}
|
||||
@@ -0,0 +1,9 @@
|
||||
@kotlin.Metadata
|
||||
@kotlin.jvm.internal.KotlinMultifileClass
|
||||
public final class test/Foo
|
||||
|
||||
@kotlin.Metadata
|
||||
@kotlin.jvm.internal.KotlinMultifileClassPart
|
||||
synthetic final class test/Foo__EmptyMultifileFacadeKt {
|
||||
private final static method privateOnly(): void
|
||||
}
|
||||
Reference in New Issue
Block a user