-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: with
statement for SES (Secure EcmaScript) support
#1056
Comments
@tmikov noting this won't slow everything down, but not promised as high priority keen to know more on the interesting implementation and any pointers (like given for eval in the past) to give it a try |
@leotm unfortunately the answer is tricky. Ordinarily we are very happy to accept community contributions (although historically we have gotten very few, and the bar for changing the compiler is quite high). The problem is that the current version of Hermes is frozen, except for bug fixes, while the next version, which is developed in a branch, has diverged significantly, particularly in the area of variable resolution and code generation, which is precisely where Even if we were to implement "with" in the frozen version, it wouldn't be portable to the next version. Let me think about the best way to do this. |
thanks again for the detailed update and porting previous issue here (i didn't spot 🙈) happy to assist when thoughts have marinated, like with test cases covering the SES |
Problem
Continuing our convo
eval
for SES (Secure EcmaScript) support #957in order to introduce SES to our RN ecosystem (starting with metamask-mobile)
we can get by without local eval, but
with
statements are requiredSolution
with
statements support 🙏Alternatives considered
with
statementseval
for SES (Secure EcmaScript) support #957Additional Context
https://github.com/facebook/hermes/blob/main/doc/Features.md#excluded-from-support
hermesengine.dev/playground
The text was updated successfully, but these errors were encountered: