Minor typo fix

This commit is contained in:
Mikhail Glukhikh
2020-06-05 10:09:58 +03:00
parent e787dbf374
commit 63394858ac
3 changed files with 4 additions and 4 deletions
@@ -453,7 +453,7 @@ abstract class KotlinIrLinker(
strategy: DeserializationStrategy,
): IrModuleDeserializer
protected abstract val functionalInteraceFactory: IrAbstractFunctionFactory
protected abstract val functionalInterfaceFactory: IrAbstractFunctionFactory
protected abstract fun isBuiltInModule(moduleDescriptor: ModuleDescriptor): Boolean
@@ -647,7 +647,7 @@ abstract class KotlinIrLinker(
moduleDescriptor: ModuleDescriptor,
moduleDeserializer: IrModuleDeserializer
): IrModuleDeserializer =
if (isBuiltInModule(moduleDescriptor)) IrModuleDeserializerWithBuiltIns(builtIns, functionalInteraceFactory, moduleDeserializer)
if (isBuiltInModule(moduleDescriptor)) IrModuleDeserializerWithBuiltIns(builtIns, functionalInterfaceFactory, moduleDeserializer)
else moduleDeserializer
fun deserializeIrModuleHeader(moduleDescriptor: ModuleDescriptor, kotlinLibrary: KotlinLibrary?): IrModuleFragment {
@@ -19,7 +19,7 @@ import org.jetbrains.kotlin.library.SerializedIrFile
class JsIrLinker(
private val currentModule: ModuleDescriptor?, logger: LoggingContext, builtIns: IrBuiltIns, symbolTable: SymbolTable,
override val functionalInteraceFactory: IrAbstractFunctionFactory,
override val functionalInterfaceFactory: IrAbstractFunctionFactory,
private val icData: List<SerializedIrFile>? = null
) :
KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) {
@@ -35,7 +35,7 @@ class JvmIrLinker(
logger: LoggingContext,
builtIns: IrBuiltIns,
symbolTable: SymbolTable,
override val functionalInteraceFactory: IrAbstractFunctionFactory,
override val functionalInterfaceFactory: IrAbstractFunctionFactory,
private val stubGenerator: DeclarationStubGenerator,
private val manglerDesc: JvmManglerDesc
) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) {