Don't use kind for static check
Lowers should perform proper transformations
This commit is contained in:
+1
-2
@@ -53,8 +53,7 @@ class FunctionCodegen(private val irFunction: IrFunction, private val classCodeg
|
||||
|
||||
private fun doGenerate() {
|
||||
val signature = classCodegen.typeMapper.mapSignatureWithGeneric(descriptor, OwnerKind.IMPLEMENTATION)
|
||||
val isStatic = isStaticMethod(OwnerKind.getMemberOwnerKind(classCodegen.descriptor), descriptor) ||
|
||||
DescriptorUtils.isStaticDeclaration(descriptor)
|
||||
val isStatic = DescriptorUtils.isStaticDeclaration(descriptor)
|
||||
val frameMap = createFrameMapWithReceivers(classCodegen.state, descriptor, signature, isStatic)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user