LivelyKernel / lively4-core

A Self-supporting, Web-based Development Environment
https://lively-kernel.org/lively4/lively4-core/start.html
MIT License
73 stars 25 forks source link

Avoid wrapping Proxies in Proxies. #398

Open niconomaa opened 4 years ago

niconomaa commented 4 years ago

In some caases, as for example in Lively's AST Explorer, the source code transformation plugin that makes objects into Proxies was applied twice.

While this is not to be expected, we nonetheless want to avoid wrapping an object twice (resulting in Proxy of Proxy).