feat(parser): Test262 100% — 23,384/23,384 passing#191
Merged
Conversation
All 23,384 Test262 tests now pass (100.0%). Fixes across parser, lexer, and semantic analyzer: - Class heritage: use parseCallExpression instead of parseAssignmentExpression to reject arrow functions in extends clause (ECMAScript ClassHeritage) - Private name environment: visit heritage before pushing class scope so heritage cannot access the class's own private names - ZWNJ/ZWJ: add scanPrivateIdentifierStart to reject U+200C/U+200D as IdentifierStart after # (only valid as IdentifierPart) - accessor keyword: parse `accessor` contextual keyword in class members - super in class fields: set allow_super_property=true for field initializers - new import.meta: allow import.meta as new callee while still rejecting new import() and new import.source/defer() - #field in expression: validate bare private_identifier requires `in` operator and reject private_identifier as RHS of `in` - for-await-of async: allow `async` as identifier in for-await-of LHS - await in static block arrow: handle kw_await as shorthand in binding patterns when not in async context - Object destructuring: reject private names (#x) in destructuring patterns - Computed property: visit computed_property_key in semantic analyzer - Arrow params: implement declareArrowParams for parameter-body duplicate check Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- emitAccessorProp: accessor 키워드 + static 플래그 출력 - accessor를 get/set 앞으로 이동 (modifier이므로 선행 파싱) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
zig build test통과zig fmt --check src/통과zig build test262-run100.0% (23,384/23,384)🤖 Generated with Claude Code