JVM: missed line number for return expression.
This commit is contained in:
committed by
max-kammerer
parent
c29f76580c
commit
5dc1651a44
@@ -1656,7 +1656,7 @@ public class ExpressionCodegen extends KtVisitor<StackValue, StackValue> impleme
|
||||
|
||||
Label afterReturnLabel = new Label();
|
||||
generateFinallyBlocksIfNeeded(returnType, returnKotlinType, afterReturnLabel);
|
||||
|
||||
markLineNumber(expression, false);
|
||||
if (isNonLocalReturn) {
|
||||
generateGlobalReturnFlag(v, nonLocalReturn.labelName);
|
||||
v.visitInsn(returnType.getOpcode(Opcodes.IRETURN));
|
||||
|
||||
Reference in New Issue
Block a user