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 strict name conformity cases #335

Merged
merged 2 commits into from
Mar 30, 2024
Merged

Conversation

chqrlie
Copy link
Collaborator

@chqrlie chqrlie commented Mar 28, 2024

  • reject future strict reserved words in js_parse_function_check_names().
  • add tests for reserved names in tests/test_language.js
  • update v8.txt

- reject *future strict reserved words* in `js_parse_function_check_names()`.
- add tests for reserved names in tests/test_language.js
- change error message for `Object.create` invalid property descriptor
- disable v8 test cases for deprecated legacy RegExp static properties
  and invalid left hand side error type
- update v8.txt
- fix v8.sh behavior for single tests
@bnoordhuis
Copy link
Contributor

Shouldn't this be a bunch of separate commits? They're unrelated changes, right?

@chqrlie
Copy link
Collaborator Author

chqrlie commented Mar 28, 2024

Shouldn't this be a bunch of separate commits? They're unrelated changes, right?

Yes, I guess I should split this into multiple PRs

- reject *future strict reserved words* in `js_parse_function_check_names()`.
- add tests for reserved names in tests/test_language.js
- allow running tests/test_language.js with v8
- update v8.txt
@chqrlie
Copy link
Collaborator Author

chqrlie commented Mar 30, 2024

Shouldn't this be a bunch of separate commits? They're unrelated changes, right?

Any further remarks?

Copy link
Contributor

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

👍

@chqrlie chqrlie merged commit 0de5709 into quickjs-ng:master Mar 30, 2024
38 checks passed
@chqrlie chqrlie deleted the more-error-fixes branch March 30, 2024 16:15
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.

3 participants