Fix Symbols::isTypeOfIntrinsic implementation
Function did not work as expected for JVM backend
This commit is contained in:
committed by
Space Team
parent
286196e8b2
commit
cb43f3c805
@@ -1617,3 +1617,6 @@ val IrDeclaration.isExpect
|
||||
fun IrElement.sourceElement(): AbstractKtSourceElement? =
|
||||
if (startOffset >= 0) KtOffsetsOnlySourceElement(this.startOffset, this.endOffset)
|
||||
else null
|
||||
|
||||
fun IrFunction.isTopLevelInPackage(name: String, packageFqName: FqName) =
|
||||
this.name.asString() == name && parent.kotlinFqName == packageFqName
|
||||
Reference in New Issue
Block a user