forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not create let/const Variables when TDZ is disabled.
Summary: Ensure that all program declarations are handled as vars (which is almost what Hermes does) when tdz is disabled, after which ```Variable::getObeysTDZ()``` can be implemented in terms of the Variable's DeclKind. Reviewed By: mattbfb Differential Revision: D39337023 fbshipit-source-id: 2e11262bd9f74554564b2b06398776e75fffa351
- Loading branch information
1 parent
d2555ef
commit 439ed6a
Showing
2 changed files
with
5 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters