KT-723 optional boxing after call to .inc()
This commit is contained in:
@@ -2159,8 +2159,10 @@ public class ExpressionCodegen extends JetVisitor<StackValue, StackValue> {
|
||||
case -1:
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
((CallableMethod)callable).invoke(v);
|
||||
|
||||
CallableMethod callableMethod = (CallableMethod) callable;
|
||||
callableMethod.invoke(v);
|
||||
StackValue.onStack(callableMethod.getSignature().getAsmMethod().getReturnType()).put(value.type, v);
|
||||
value.store(v);
|
||||
return StackValue.onStack(type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user