[FIR] Fix serialization of empty varargs in annotations in KLIBs

#KT-59249 Fixed
This commit is contained in:
Kirill Rakhman
2023-07-26 13:51:06 +02:00
committed by Space Team
parent 487c3e80bb
commit 38a54549ff
10 changed files with 189 additions and 37 deletions
@@ -147,7 +147,7 @@ abstract class AbstractLoadedMetadataDumpHandler<A : ResultingArtifact.Binary<A>
}
val emptyModule = TestModule(
name = "empty", module.targetPlatform, module.targetBackend, FrontendKinds.FIR,
name = "dump-${module.name}", module.targetPlatform, module.targetBackend, FrontendKinds.FIR,
BackendKinds.IrBackend, module.binaryKind, files = emptyList(),
allDependencies = listOf(DependencyDescription(module.name, dependencyKind, DependencyRelation.RegularDependency)),
RegisteredDirectives.Empty, languageVersionSettings