Fix for finally before empty return
This commit is contained in:
@@ -1332,6 +1332,7 @@ public class ExpressionCodegen extends JetVisitor<StackValue, StackValue> implem
|
||||
v.areturn(returnType);
|
||||
}
|
||||
else {
|
||||
doFinallyOnReturn();
|
||||
v.visitInsn(RETURN);
|
||||
}
|
||||
return StackValue.none();
|
||||
|
||||
Reference in New Issue
Block a user