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: hermes unknown command line argument '-fenable-tdz' #145

Closed

Conversation

leotm
Copy link

@leotm leotm commented Jan 31, 2025

before

➜  eshost -e "42"
#### engine262
42

#### hermes

hermes: Unknown command line argument '-fenable-tdz'.  Try: '/Users/leo/.esvu/bin/hermes -help'

#### javascriptcore
42

#### spidermonkey
42

#### v8
42

#### xs
42

after

➜  eshost git:(fix-hermes-unknown-cl-arg-fenable-tdz) eshost -e "42"
#### engine262
42

#### hermes
42

#### javascriptcore
42

#### spidermonkey
42

#### v8
42

#### xs
42

info

npm list -g
/Users/leo/.nvm/versions/node/v22.13.1/lib
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
hermes-cli-darwin-v0.12.0 ./hermes -help-hidden | grep tdz
  -Xenable-tdz                        - UNSUPPORTED: Enable TDZ checks for let/const
hermes-cli-darwin-v0.13.0 ./hermes -help-hidden | grep tdz
[Nothing to see here]

cc @gibson042 @tmikov

@leotm
Copy link
Author

leotm commented Jan 31, 2025

@leotm leotm closed this Jan 31, 2025
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.

hermes command line arguments are incorrect
1 participant