IR: IrCall.fromSymbolDescriptor

This commit is contained in:
Georgy Bronnikov
2020-10-14 12:31:00 +03:00
parent ab3ef3a7e9
commit b28c85f5ea
21 changed files with 69 additions and 60 deletions
@@ -220,7 +220,7 @@ private fun FqName.child(name: String) = child(Name.identifier(name))
@ObsoleteDescriptorBasedAPI
private fun IrSimpleFunction.callWithRanges(source: IrExpression) =
IrCallImpl(source.startOffset, source.endOffset, returnType, symbol)
IrCallImpl.fromSymbolDescriptor(source.startOffset, source.endOffset, returnType, symbol)
private val AndroidContainerType.fqName: FqName
get() = FqName(internalClassName.replace("/", "."))