es-meta / esmeta

ECMAScript Specification (ECMA-262) Metalanguage
BSD 3-Clause "New" or "Revised" License
175 stars 12 forks source link

Fix propRef of parser to pass test262 #200

Closed d01c2 closed 5 months ago

d01c2 commented 5 months ago

This PR includes:

During testing with test262, we encountered an issue where the statement "Let _rawValue_ be the String value _rawStrings_[_index_]." was not parsing correctly. To alleviate this problem, we have made modification to propRef to address this issue.

d01c2 commented 5 months ago

With this modification, 44 previously unsupported tests have now passed.

- not-supported (N): 28,523
+ not-supported (N): 28,479

Additionally, the names of the newly passed files are as follows:

"built-ins/String/raw/return-the-string-value-from-template.js",
"built-ins/String/raw/special-characters.js",
"built-ins/String/raw/zero-literal-segments.js",
"built-ins/String/raw/template-substitutions-are-appended-on-same-index.js",
"language/expressions/new.target/value-via-tagged-template.js",
"language/expressions/optional-chaining/call-expression.js",
"language/expressions/tagged-template/cache-differing-expressions-eval.js",
"language/expressions/tagged-template/cache-different-functions-same-site.js",
"language/expressions/tagged-template/cache-differing-raw-strings.js",
"language/expressions/tagged-template/cache-differing-expressions.js",
"language/expressions/tagged-template/cache-differing-expressions-new-function.js",
"language/expressions/tagged-template/cache-differing-string-count.js",
"language/expressions/tagged-template/cache-identical-source-eval.js",
"language/expressions/tagged-template/cache-identical-source.js",
"language/expressions/tagged-template/cache-identical-source-new-function.js",
"language/expressions/tagged-template/cache-eval-inner-function.js",
"language/expressions/tagged-template/cache-same-site-top-level.js",
"language/expressions/tagged-template/cache-same-site.js",
"language/expressions/tagged-template/call-expression-context-strict.js",
"language/expressions/tagged-template/chained-application.js",
"language/expressions/tagged-template/call-expression-argument-list-evaluation.js",
"language/expressions/tagged-template/constructor-invocation.js",
"language/expressions/tagged-template/member-expression-context.js",
"language/expressions/tagged-template/member-expression-argument-list-evaluation.js",
"language/expressions/tagged-template/tco-member.js",
"language/expressions/tagged-template/tco-call.js",
"language/expressions/tagged-template/template-object-frozen-strict.js",
"language/expressions/tagged-template/invalid-escape-sequences.js",
"language/expressions/tagged-template/template-object-template-map.js",
"language/expressions/template-literal/evaluation-order.js",
"language/expressions/tagged-template/template-object.js",
"language/expressions/template-literal/tv-hex-escape-sequence.js",
"language/expressions/template-literal/tv-null-character-escape-sequence.js",
"language/expressions/template-literal/tv-no-substitution.js",
"language/expressions/template-literal/tv-character-escape-sequence.js",
"language/expressions/template-literal/tv-line-terminator-sequence.js",
"language/expressions/template-literal/tv-template-character.js",
"language/expressions/template-literal/tv-line-continuation.js",
"language/expressions/template-literal/tv-template-characters.js",
"language/expressions/template-literal/tv-template-head.js",
"language/expressions/template-literal/tv-template-middle.js",
"language/expressions/template-literal/tv-template-tail.js",
"language/expressions/template-literal/tv-zwnbsp.js",
"language/expressions/template-literal/tv-utf16-escape-sequence.js"