Skip to content
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

fix #2365: Hermes does not fully support ConstAndLet #2372

Conversation

tido64
Copy link

@tido64 tido64 commented Jul 4, 2022

Remove Hermes from ConstAndLet as it does not fully support it.

Resolves #2365.

Comment on lines 394 to -395
Firefox: {{start: v{51, 0, 0}}},
Hermes: {{start: v{0, 7, 0}}},
Copy link

@ecreeth ecreeth Jul 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is generated by "compat-table.js".

I think that the way to go is add hermes0: false here

mergeVersions('ConstAndLet', { es2015: true })

@evanw evanw closed this in 18ef7be Jul 6, 2022
@tido64 tido64 deleted the tido64/hermes-does-not-support-const-and-let branch July 6, 2022 06:43
@zloirock
Copy link

zloirock commented Jul 6, 2022

Maybe it should be fixed on the compat-table side?

@evanw
Copy link
Owner

evanw commented Jul 6, 2022

It turned out that this was a bug with esbuild’s table generation script, not with compat-table: #2365 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does Hermes really support ConstAndLet?
4 participants