Fix prototype JVM BE tests
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ class LocalFunctionsLowering(val context: BackendContext): DeclarationContainerL
|
||||
|
||||
return if (oldCallee.typeParameters.isEmpty())
|
||||
null
|
||||
else oldCallee.typeParameters.associateBy(
|
||||
else oldCallee.original.typeParameters.associateBy(
|
||||
{ newCallee.typeParameters[it.index] },
|
||||
{ oldExpression.getTypeArgument(it)!! }
|
||||
)
|
||||
|
||||
@@ -136,6 +136,7 @@ class ClassCodegen private constructor(val irClass: IrClass, val context: JvmBac
|
||||
}
|
||||
|
||||
fun generateMethod(method: IrFunction) {
|
||||
if (method.descriptor.kind == CallableMemberDescriptor.Kind.FAKE_OVERRIDE) return
|
||||
FunctionCodegen(method, this).generate()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user