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
Additional thoughts
I believe the right way to solve it is by making sure of not destructuring when relay on scope.
Since this plain JavaScript also fails:
When consuming
orga
you can stubble in such error.The culprit of this issue is when we use
this
in an object that gets destructured during the consume phase.An example is the usage of
this
inpackages/orga/src/parse/context.ts
which gets destructured here.The issue is not currently visible in this repository because seems to mainly happen when ESM is enable.
How to reproduce it
An easy way to reproduce it is change the following line:
And run the test.
Additional thoughts
I believe the right way to solve it is by making sure of not destructuring when relay on scope.
Since this plain JavaScript also fails:
The text was updated successfully, but these errors were encountered: