File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
compiler/cli/src/org/jetbrains/kotlin/cli/jklib Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ import org.jetbrains.kotlin.types.typeUtil.replaceAnnotations
7777 * transitions to K2, code in this file should no longer be needed.
7878 */
7979
80- object JKlibIrMangler : IrBasedKotlinManglerImpl() {
80+ class JKlibIrMangler : IrBasedKotlinManglerImpl () {
8181 private class JKlibIrExportChecker (compatibleMode : Boolean ) : IrExportCheckerVisitor(compatibleMode) {
8282 override fun IrDeclaration.isPlatformSpecificExported () = false
8383 }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import org.jetbrains.kotlin.backend.common.serialization.*
99import org.jetbrains.kotlin.ir.IrDiagnosticReporter
1010import org.jetbrains.kotlin.ir.declarations.IrFile
1111
12- object JKlibGlobalDeclarationTable : GlobalDeclarationTable(JKlibIrMangler )
12+ class JKlibGlobalDeclarationTable : GlobalDeclarationTable (JKlibIrMangler () )
1313
1414class JKlibModuleSerializer (
1515 settings : IrSerializationSettings ,
@@ -18,7 +18,7 @@ class JKlibModuleSerializer(
1818 settings, diagnosticReporter
1919) {
2020
21- override val globalDeclarationTable = JKlibGlobalDeclarationTable
21+ override val globalDeclarationTable = JKlibGlobalDeclarationTable ()
2222
2323
2424 override fun createSerializerForFile (file : IrFile ): IrFileSerializer =
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ class K2JKlibCompiler : CLICompiler<K2JKlibCompilerArguments>() {
191191 override val fakeOverrideBuilder = IrLinkerFakeOverrideProvider (
192192 linker = this ,
193193 symbolTable = symbolTable,
194- mangler = JKlibIrMangler ,
194+ mangler = JKlibIrMangler () ,
195195 typeSystem = IrTypeSystemContextImpl (builtIns),
196196 friendModules = emptyMap(),
197197 partialLinkageSupport = partialLinkageSupport,
You can’t perform that action at this time.
0 commit comments