native function serialization
wizzard0 opened this issue · comments
if the runtime environment supports equality operations on them, then, well, we can go crazy and try to enumerate/collect them and try to re-bind appropriately :)
i totally agree that wont work everytime, but hey, this project is crazy enough as it is
i'm not sure i understand this... currently, almost all native functions are already detected and replaced with identifiers or member expressions thereof. can you elaborate?
this issue is exactly the opposite of #16, in this case I made an object property which references a native function not reachable from the current scope
ok i understand now that my proposal is exactly equal to what is being done now... nevermind :)