Always generate kotlin_module
#KT-25133 fixed
#KT-25051 fixed
This commit is contained in:
@@ -121,7 +121,6 @@ public class ClassFileFactory implements OutputFileCollection {
|
||||
}
|
||||
|
||||
JvmModuleProtoBuf.Module moduleProto = builder.build();
|
||||
if (moduleProto.getSerializedSize() == 0) return;
|
||||
|
||||
generators.put(outputFilePath, new OutAndSourceFileList(CollectionsKt.toList(packagePartSourceFiles)) {
|
||||
@Override
|
||||
|
||||
@@ -106,3 +106,7 @@ public final class C : kotlin/Any {
|
||||
// signature: typeAnnotation()V
|
||||
public final fun typeAnnotation(): @A(z = true, c = 'x', b = 1.toByte(), s = 42.toShort(), i = 42424242, f = -2.72f, j = 239239239239239L, d = 3.14, za = [true], ca = ['\''], ba = [1.toByte()], sa = [42.toShort()], ia = [42424242], fa = [-2.72f], ja = [239239239239239L], da = [3.14], str = "aba\ncaba'\"\t\u0001\u0002ꙮ", enum = kotlin/annotation/AnnotationTarget.CLASS, klass = C::class, anno = B(value = "aba\ncaba'\"\t\u0001\u0002ꙮ")) kotlin/Unit
|
||||
}
|
||||
// META-INF/test-module.kotlin_module
|
||||
// ------------------------------------------
|
||||
module {
|
||||
}
|
||||
|
||||
@@ -24,3 +24,7 @@ local final inner class .A$L.I : kotlin/Any {
|
||||
// signature: <init>(LA$L;)V
|
||||
public /* primary */ constructor()
|
||||
}
|
||||
// META-INF/test-module.kotlin_module
|
||||
// ------------------------------------------
|
||||
module {
|
||||
}
|
||||
|
||||
@@ -58,3 +58,7 @@ public final class A.D.F.G : A.D.F {
|
||||
// signature: <init>()V
|
||||
public /* primary */ constructor()
|
||||
}
|
||||
// META-INF/test-module.kotlin_module
|
||||
// ------------------------------------------
|
||||
module {
|
||||
}
|
||||
|
||||
@@ -11,3 +11,7 @@ public final class PlatformType : kotlin/Any {
|
||||
// signature: nullability()Ljava/io/File;
|
||||
public final fun nullability(): java/io/File!
|
||||
}
|
||||
// META-INF/test-module.kotlin_module
|
||||
// ------------------------------------------
|
||||
module {
|
||||
}
|
||||
|
||||
@@ -27,3 +27,7 @@ public final class SimpleClass<in T#0 /* A */> : kotlin/Any {
|
||||
public final /* non-default */ external get
|
||||
public final /* non-default */ set(<set-?>: kotlin/Long)
|
||||
}
|
||||
// META-INF/test-module.kotlin_module
|
||||
// ------------------------------------------
|
||||
module {
|
||||
}
|
||||
|
||||
@@ -41,3 +41,7 @@ public final inner class A.B.C<T#3 /* T */, T#4 /* U */> : kotlin/Any {
|
||||
// signature: z(LA$B$C;)V
|
||||
public final fun z(c: A<kotlin/Int>.B<kotlin/Any, kotlin/Byte>.C<kotlin/Unit, kotlin/Long>): kotlin/Unit
|
||||
}
|
||||
// META-INF/test-module.kotlin_module
|
||||
// ------------------------------------------
|
||||
module {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user