JVM: Generate LVT entry for this in @JvmOverload methods.
This change also makes sure that no line numbers are generated in the wrappers in the JVM_IR backend. Change-Id: If6c37f8a20894455abddb526039df059e02015a3
This commit is contained in:
+3
-1
@@ -244,8 +244,10 @@ class DefaultParameterValueSubstitutor(val state: GenerationState) {
|
||||
val methodEnd = Label()
|
||||
mv.visitLabel(methodEnd)
|
||||
|
||||
val thisType = functionDescriptor.dispatchReceiverParameter?.type?.asmType(typeMapper)
|
||||
|
||||
FunctionCodegen.generateLocalVariablesForParameters(
|
||||
mv, signature, functionDescriptor, null, methodBegin, methodEnd, remainingParameters, isStatic, state
|
||||
mv, signature, functionDescriptor, thisType, methodBegin, methodEnd, remainingParameters, isStatic, state
|
||||
)
|
||||
|
||||
FunctionCodegen.endVisit(mv, null, methodElement)
|
||||
|
||||
Reference in New Issue
Block a user