Fix subject variable handling in specialized enum codegen
#KT-27161
This commit is contained in:
@@ -91,6 +91,7 @@ abstract class SwitchCodegen(
|
||||
v.mark(endLabel)
|
||||
|
||||
subjectVariableDescriptor?.let {
|
||||
codegen.frameMap.leave(it)
|
||||
v.visitLocalVariable(
|
||||
it.name.asString(), subjectType.descriptor, null,
|
||||
beginLabel, endLabel, subjectLocal
|
||||
|
||||
Reference in New Issue
Block a user