Open yoav-steinberg opened 11 months ago
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
I tried this:
This happened:
I expected this:
To run and pass the assertion
Is there a workaround?
have another method in the base class with the same code and call it through
this
.Component
Compiler
Wing Version
No response
Node.js Version
No response
Platform(s)
No response
Anything else?
The difficulty in resolving this is that we need to create a similar mechanism to the
__parent_this
mechanism. Just that it'll be a "super" object and not a "this" object. Alternatively we can find a way to "elevate" the__parent_this
to "reference" the super instance. Both these things require JS trickery using prototype chain magic and perhapsProxy
objects.It might be worth considering if the inflight closure transformation is still required now that we more-or-less support free var (global var) lifting.
Community Notes