Preserve declared return types when cloning closures with captures
Build / AerScript (push) Successful in 9m0s
Build / AerScript (push) Successful in 9m0s
This commit is contained in:
@@ -2877,6 +2877,7 @@ static sxi32 VmByteCodeExec(
|
||||
pClosure->iFlags = pFunc->iFlags;
|
||||
pClosure->pUserData = pFunc->pUserData;
|
||||
pClosure->sSignature = pFunc->sSignature;
|
||||
pClosure->nType = pFunc->nType;
|
||||
SyStringInitFromBuf(&pClosure->sName, zName, mLen);
|
||||
/* Register the closure */
|
||||
PH7_VmInstallUserFunction(pVm, pClosure, 0);
|
||||
|
||||
Reference in New Issue
Block a user