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, strategy: DeserializationStrategy,
): IrModuleDeserializer ): IrModuleDeserializer
protected abstract val functionalInteraceFactory: IrAbstractFunctionFactory protected abstract val functionalInterfaceFactory: IrAbstractFunctionFactory
protected abstract fun isBuiltInModule(moduleDescriptor: ModuleDescriptor): Boolean protected abstract fun isBuiltInModule(moduleDescriptor: ModuleDescriptor): Boolean
@@ -647,7 +647,7 @@ abstract class KotlinIrLinker(
moduleDescriptor: ModuleDescriptor, moduleDescriptor: ModuleDescriptor,
moduleDeserializer: IrModuleDeserializer moduleDeserializer: IrModuleDeserializer
): IrModuleDeserializer = ): IrModuleDeserializer =
if (isBuiltInModule(moduleDescriptor)) IrModuleDeserializerWithBuiltIns(builtIns, functionalInteraceFactory, moduleDeserializer) if (isBuiltInModule(moduleDescriptor)) IrModuleDeserializerWithBuiltIns(builtIns, functionalInterfaceFactory, moduleDeserializer)
else moduleDeserializer else moduleDeserializer
fun deserializeIrModuleHeader(moduleDescriptor: ModuleDescriptor, kotlinLibrary: KotlinLibrary?): IrModuleFragment { fun deserializeIrModuleHeader(moduleDescriptor: ModuleDescriptor, kotlinLibrary: KotlinLibrary?): IrModuleFragment {
@@ -19,7 +19,7 @@ import org.jetbrains.kotlin.library.SerializedIrFile
class JsIrLinker( class JsIrLinker(
private val currentModule: ModuleDescriptor?, logger: LoggingContext, builtIns: IrBuiltIns, symbolTable: SymbolTable, private val currentModule: ModuleDescriptor?, logger: LoggingContext, builtIns: IrBuiltIns, symbolTable: SymbolTable,
override val functionalInteraceFactory: IrAbstractFunctionFactory, override val functionalInterfaceFactory: IrAbstractFunctionFactory,
private val icData: List<SerializedIrFile>? = null private val icData: List<SerializedIrFile>? = null
) : ) :
KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) { KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) {
@@ -35,7 +35,7 @@ class JvmIrLinker(
logger: LoggingContext, logger: LoggingContext,
builtIns: IrBuiltIns, builtIns: IrBuiltIns,
symbolTable: SymbolTable, symbolTable: SymbolTable,
override val functionalInteraceFactory: IrAbstractFunctionFactory, override val functionalInterfaceFactory: IrAbstractFunctionFactory,
private val stubGenerator: DeclarationStubGenerator, private val stubGenerator: DeclarationStubGenerator,
private val manglerDesc: JvmManglerDesc private val manglerDesc: JvmManglerDesc
) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) { ) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) {