You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should be function, but xs gives object. This happens because xsIsFunction redirects the lookup to proxy.target, but proxy.target is nulled out when the proxy is revoked:
The patch won't work because instance->flag is a byte so the flag value of 256 will be lost. To minimize memory use, critical on microcontrollers targets, it is impractical to increase the size of that field.
I just ran your example with the latest Moddable SDK and the output is function. Are you still able to reproduce the problem?
should be
function
, but xs givesobject
. This happens becausexsIsFunction
redirects the lookup toproxy.target
, butproxy.target
is nulled out when the proxy is revoked:moddable/xs/sources/xsFunction.c
Lines 114 to 129 in 15c5724
I'm not sure how to run js files with the output of the build, but i did come up with this patch:
The text was updated successfully, but these errors were encountered: