Wide visibility in ir common stuff
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ abstract class IrElementTransformerVoidWithContext : IrElementTransformerVoid()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract internal class IrElementVisitorVoidWithContext : IrElementVisitorVoid {
|
abstract class IrElementVisitorVoidWithContext : IrElementVisitorVoid {
|
||||||
|
|
||||||
private val scopeStack = mutableListOf<ScopeWithIr>()
|
private val scopeStack = mutableListOf<ScopeWithIr>()
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ abstract class Symbols<out T: CommonBackendContext>(val context: T, private val
|
|||||||
|
|
||||||
val arrays = PrimitiveType.values().map { primitiveArrayClass(it) } + array
|
val arrays = PrimitiveType.values().map { primitiveArrayClass(it) } + array
|
||||||
|
|
||||||
private fun arrayExtensionFun(type: KotlinType, name: String): IrSimpleFunctionSymbol {
|
protected fun arrayExtensionFun(type: KotlinType, name: String): IrSimpleFunctionSymbol {
|
||||||
val descriptor = builtInsPackage("kotlin")
|
val descriptor = builtInsPackage("kotlin")
|
||||||
.getContributedFunctions(Name.identifier(name), NoLookupLocation.FROM_BACKEND)
|
.getContributedFunctions(Name.identifier(name), NoLookupLocation.FROM_BACKEND)
|
||||||
.singleOrNull { it.valueParameters.isEmpty()
|
.singleOrNull { it.valueParameters.isEmpty()
|
||||||
|
|||||||
Reference in New Issue
Block a user