Kapt+JVM_IR: do not generate super constructor call
#KT-57699 Fixed #KT-57939 Fixed
This commit is contained in:
committed by
Space Team
parent
3cdf4bae07
commit
287e0909cc
+2
-1
@@ -244,7 +244,8 @@ internal class FunctionGenerator(declarationGenerator: DeclarationGenerator) : D
|
||||
) { irConstructor ->
|
||||
if (
|
||||
primaryConstructorDescriptor.isExpect ||
|
||||
primaryConstructorDescriptor.constructedClass.isEffectivelyExternal()
|
||||
primaryConstructorDescriptor.constructedClass.isEffectivelyExternal() ||
|
||||
context.configuration.skipBodies
|
||||
)
|
||||
null
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user