From 830b757f815ca1a68aaa0a1c345065049bae1eaf Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 17 Jan 2026 16:47:06 +0000 Subject: [PATCH] feat(regular_expression): add Unicode 17.0 script properties (#18140) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Add support for 4 new scripts introduced in Unicode 17.0: - `Beria_Erfe` (`Berf`) - `Sidetic` (`Sidt`) - `Tai_Yo` (`Tayo`) - `Tolong_Siki` (`Tols`) ## Test plan - [x] 8 parser_test262 tests now pass (from 46547 β†’ 46555 positive passed) - [x] 1 minifier_node_compat test now passes (from 930 β†’ 931 positive passed) - [x] 8 semantic_test262 tests now pass (from 44911 β†’ 44919 positive passed) - [x] `cargo test -p oxc_regular_expression` passes πŸ€– Generated with [Claude Code](https://claude.ai/code) --- .../parser/pattern_parser/unicode_property.rs | 4 + .../snapshots/minifier_node_compat.snap | 4 +- tasks/coverage/snapshots/parser_test262.snap | 594 +----------------- .../coverage/snapshots/semantic_test262.snap | 82 +-- 4 files changed, 7 insertions(+), 677 deletions(-) diff --git a/crates/oxc_regular_expression/src/parser/pattern_parser/unicode_property.rs b/crates/oxc_regular_expression/src/parser/pattern_parser/unicode_property.rs index e89f926981343..1d7546ca13e40 100644 --- a/crates/oxc_regular_expression/src/parser/pattern_parser/unicode_property.rs +++ b/crates/oxc_regular_expression/src/parser/pattern_parser/unicode_property.rs @@ -79,6 +79,7 @@ static SC_PROPERTY_VALUES: Set<&'static str> = phf_set! { "Bass", "Bassa_Vah", "Batk", "Batak", "Beng", "Bengali", + "Berf", "Beria_Erfe", "Bhks", "Bhaiksuki", "Bopo", "Bopomofo", "Brah", "Brahmi", @@ -198,6 +199,7 @@ static SC_PROPERTY_VALUES: Set<&'static str> = phf_set! { "Shaw", "Shavian", "Shrd", "Sharada", "Sidd", "Siddham", + "Sidt", "Sidetic", "Sind", "Khudawadi", "Sinh", "Sinhala", "Sogd", "Sogdian", @@ -215,6 +217,7 @@ static SC_PROPERTY_VALUES: Set<&'static str> = phf_set! { "Taml", "Tamil", "Tang", "Tangut", "Tavt", "Tai_Viet", + "Tayo", "Tai_Yo", "Telu", "Telugu", "Tfng", "Tifinagh", "Tglg", "Tagalog", @@ -224,6 +227,7 @@ static SC_PROPERTY_VALUES: Set<&'static str> = phf_set! { "Tirh", "Tirhuta", "Tnsa", "Tangsa", "Todr", "Todhri", + "Tols", "Tolong_Siki", "Toto", "Tutg", "Tulu_Tigalari", "Ugar", "Ugaritic", diff --git a/tasks/coverage/snapshots/minifier_node_compat.snap b/tasks/coverage/snapshots/minifier_node_compat.snap index 3b4b45893d80f..ab4753712a2c1 100644 --- a/tasks/coverage/snapshots/minifier_node_compat.snap +++ b/tasks/coverage/snapshots/minifier_node_compat.snap @@ -2,7 +2,7 @@ commit: 499beb6f minifier_node_compat Summary: AST Parsed : 938/938 (100.00%) -Positive Passed: 930/938 (99.15%) +Positive Passed: 931/938 (99.25%) execution_result: tasks/coverage/ES2015/built-insβ€ΊProxyβ€Ί"getOwnPropertyDescriptor" handler invariants execution_result: tasks/coverage/ES2015/miscβ€ΊProxy, internal 'get' callsβ€ΊHasBinding @@ -13,8 +13,6 @@ execution_result: tasks/coverage/ES2015/miscβ€ΊProxy, internal 'get' callsβ€ΊStr execution_result: tasks/coverage/ES2015/miscβ€ΊProxy, internal 'ownKeys' callsβ€ΊTestIntegrityLevel -Expect to Parse: tasks/coverage/ES2018/featuresβ€ΊRegExp Unicode Property Escapesβ€ΊUnicode 17.0 -Failed to minify code execution_result: tasks/coverage/ES2018/miscβ€ΊProxy "ownKeys" handler, duplicate keys for non-extensible targets execution_result: tasks/coverage/ES2022/featuresβ€ΊObject.hasOwnβ€ΊToObject called before ToPropertyKey diff --git a/tasks/coverage/snapshots/parser_test262.snap b/tasks/coverage/snapshots/parser_test262.snap index 0a402f040a8a0..850b789e0b232 100644 --- a/tasks/coverage/snapshots/parser_test262.snap +++ b/tasks/coverage/snapshots/parser_test262.snap @@ -2,7 +2,7 @@ commit: 6f55d0c2 parser_test262 Summary: AST Parsed : 46555/46563 (99.98%) -Positive Passed: 46547/46563 (99.97%) +Positive Passed: 46555/46563 (99.98%) Negative Passed: 4581/4581 (100.00%) Expect to Parse: tasks/coverage/test262/test/annexB/language/expressions/assignmenttargettype/callexpression-as-for-in-lhs.js @@ -74,598 +74,6 @@ Expect to Parse: tasks/coverage/test262/test/annexB/language/expressions/assignm 21 β”‚ }); ╰──── -Expect to Parse: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js:24:15] - 23 β”‚ testPropertyEscapes( - 24 β”‚ /^\p{Script=Beria_Erfe}+$/u, - Β· ────────── - 25 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js:29:15] - 28 β”‚ testPropertyEscapes( - 29 β”‚ /^\p{Script=Berf}+$/u, - Β· ──── - 30 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js:34:11] - 33 β”‚ testPropertyEscapes( - 34 β”‚ /^\p{sc=Beria_Erfe}+$/u, - Β· ────────── - 35 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js:39:11] - 38 β”‚ testPropertyEscapes( - 39 β”‚ /^\p{sc=Berf}+$/u, - Β· ──── - 40 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js:55:15] - 54 β”‚ testPropertyEscapes( - 55 β”‚ /^\P{Script=Beria_Erfe}+$/u, - Β· ────────── - 56 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js:60:15] - 59 β”‚ testPropertyEscapes( - 60 β”‚ /^\P{Script=Berf}+$/u, - Β· ──── - 61 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js:65:11] - 64 β”‚ testPropertyEscapes( - 65 β”‚ /^\P{sc=Beria_Erfe}+$/u, - Β· ────────── - 66 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js:70:11] - 69 β”‚ testPropertyEscapes( - 70 β”‚ /^\P{sc=Berf}+$/u, - Β· ──── - 71 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - -Expect to Parse: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js:23:15] - 22 β”‚ testPropertyEscapes( - 23 β”‚ /^\p{Script=Sidetic}+$/u, - Β· ─────── - 24 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js:28:15] - 27 β”‚ testPropertyEscapes( - 28 β”‚ /^\p{Script=Sidt}+$/u, - Β· ──── - 29 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js:33:11] - 32 β”‚ testPropertyEscapes( - 33 β”‚ /^\p{sc=Sidetic}+$/u, - Β· ─────── - 34 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js:38:11] - 37 β”‚ testPropertyEscapes( - 38 β”‚ /^\p{sc=Sidt}+$/u, - Β· ──── - 39 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js:53:15] - 52 β”‚ testPropertyEscapes( - 53 β”‚ /^\P{Script=Sidetic}+$/u, - Β· ─────── - 54 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js:58:15] - 57 β”‚ testPropertyEscapes( - 58 β”‚ /^\P{Script=Sidt}+$/u, - Β· ──── - 59 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js:63:11] - 62 β”‚ testPropertyEscapes( - 63 β”‚ /^\P{sc=Sidetic}+$/u, - Β· ─────── - 64 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js:68:11] - 67 β”‚ testPropertyEscapes( - 68 β”‚ /^\P{sc=Sidt}+$/u, - Β· ──── - 69 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - -Expect to Parse: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js:25:15] - 24 β”‚ testPropertyEscapes( - 25 β”‚ /^\p{Script=Tai_Yo}+$/u, - Β· ────── - 26 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js:30:15] - 29 β”‚ testPropertyEscapes( - 30 β”‚ /^\p{Script=Tayo}+$/u, - Β· ──── - 31 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js:35:11] - 34 β”‚ testPropertyEscapes( - 35 β”‚ /^\p{sc=Tai_Yo}+$/u, - Β· ────── - 36 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js:40:11] - 39 β”‚ testPropertyEscapes( - 40 β”‚ /^\p{sc=Tayo}+$/u, - Β· ──── - 41 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js:58:15] - 57 β”‚ testPropertyEscapes( - 58 β”‚ /^\P{Script=Tai_Yo}+$/u, - Β· ────── - 59 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js:63:15] - 62 β”‚ testPropertyEscapes( - 63 β”‚ /^\P{Script=Tayo}+$/u, - Β· ──── - 64 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js:68:11] - 67 β”‚ testPropertyEscapes( - 68 β”‚ /^\P{sc=Tai_Yo}+$/u, - Β· ────── - 69 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js:73:11] - 72 β”‚ testPropertyEscapes( - 73 β”‚ /^\P{sc=Tayo}+$/u, - Β· ──── - 74 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - -Expect to Parse: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js:24:15] - 23 β”‚ testPropertyEscapes( - 24 β”‚ /^\p{Script=Tolong_Siki}+$/u, - Β· ─────────── - 25 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js:29:15] - 28 β”‚ testPropertyEscapes( - 29 β”‚ /^\p{Script=Tols}+$/u, - Β· ──── - 30 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js:34:11] - 33 β”‚ testPropertyEscapes( - 34 β”‚ /^\p{sc=Tolong_Siki}+$/u, - Β· ─────────── - 35 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js:39:11] - 38 β”‚ testPropertyEscapes( - 39 β”‚ /^\p{sc=Tols}+$/u, - Β· ──── - 40 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js:55:15] - 54 β”‚ testPropertyEscapes( - 55 β”‚ /^\P{Script=Tolong_Siki}+$/u, - Β· ─────────── - 56 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js:60:15] - 59 β”‚ testPropertyEscapes( - 60 β”‚ /^\P{Script=Tols}+$/u, - Β· ──── - 61 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js:65:11] - 64 β”‚ testPropertyEscapes( - 65 β”‚ /^\P{sc=Tolong_Siki}+$/u, - Β· ─────────── - 66 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js:70:11] - 69 β”‚ testPropertyEscapes( - 70 β”‚ /^\P{sc=Tols}+$/u, - Β· ──── - 71 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - -Expect to Parse: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js:24:26] - 23 β”‚ testPropertyEscapes( - 24 β”‚ /^\p{Script_Extensions=Beria_Erfe}+$/u, - Β· ────────── - 25 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js:29:26] - 28 β”‚ testPropertyEscapes( - 29 β”‚ /^\p{Script_Extensions=Berf}+$/u, - Β· ──── - 30 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js:34:12] - 33 β”‚ testPropertyEscapes( - 34 β”‚ /^\p{scx=Beria_Erfe}+$/u, - Β· ────────── - 35 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js:39:12] - 38 β”‚ testPropertyEscapes( - 39 β”‚ /^\p{scx=Berf}+$/u, - Β· ──── - 40 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js:55:26] - 54 β”‚ testPropertyEscapes( - 55 β”‚ /^\P{Script_Extensions=Beria_Erfe}+$/u, - Β· ────────── - 56 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js:60:26] - 59 β”‚ testPropertyEscapes( - 60 β”‚ /^\P{Script_Extensions=Berf}+$/u, - Β· ──── - 61 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js:65:12] - 64 β”‚ testPropertyEscapes( - 65 β”‚ /^\P{scx=Beria_Erfe}+$/u, - Β· ────────── - 66 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js:70:12] - 69 β”‚ testPropertyEscapes( - 70 β”‚ /^\P{scx=Berf}+$/u, - Β· ──── - 71 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - -Expect to Parse: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js:23:26] - 22 β”‚ testPropertyEscapes( - 23 β”‚ /^\p{Script_Extensions=Sidetic}+$/u, - Β· ─────── - 24 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js:28:26] - 27 β”‚ testPropertyEscapes( - 28 β”‚ /^\p{Script_Extensions=Sidt}+$/u, - Β· ──── - 29 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js:33:12] - 32 β”‚ testPropertyEscapes( - 33 β”‚ /^\p{scx=Sidetic}+$/u, - Β· ─────── - 34 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js:38:12] - 37 β”‚ testPropertyEscapes( - 38 β”‚ /^\p{scx=Sidt}+$/u, - Β· ──── - 39 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js:53:26] - 52 β”‚ testPropertyEscapes( - 53 β”‚ /^\P{Script_Extensions=Sidetic}+$/u, - Β· ─────── - 54 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js:58:26] - 57 β”‚ testPropertyEscapes( - 58 β”‚ /^\P{Script_Extensions=Sidt}+$/u, - Β· ──── - 59 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js:63:12] - 62 β”‚ testPropertyEscapes( - 63 β”‚ /^\P{scx=Sidetic}+$/u, - Β· ─────── - 64 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js:68:12] - 67 β”‚ testPropertyEscapes( - 68 β”‚ /^\P{scx=Sidt}+$/u, - Β· ──── - 69 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - -Expect to Parse: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js:25:26] - 24 β”‚ testPropertyEscapes( - 25 β”‚ /^\p{Script_Extensions=Tai_Yo}+$/u, - Β· ────── - 26 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js:30:26] - 29 β”‚ testPropertyEscapes( - 30 β”‚ /^\p{Script_Extensions=Tayo}+$/u, - Β· ──── - 31 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js:35:12] - 34 β”‚ testPropertyEscapes( - 35 β”‚ /^\p{scx=Tai_Yo}+$/u, - Β· ────── - 36 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js:40:12] - 39 β”‚ testPropertyEscapes( - 40 β”‚ /^\p{scx=Tayo}+$/u, - Β· ──── - 41 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js:58:26] - 57 β”‚ testPropertyEscapes( - 58 β”‚ /^\P{Script_Extensions=Tai_Yo}+$/u, - Β· ────── - 59 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js:63:26] - 62 β”‚ testPropertyEscapes( - 63 β”‚ /^\P{Script_Extensions=Tayo}+$/u, - Β· ──── - 64 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js:68:12] - 67 β”‚ testPropertyEscapes( - 68 β”‚ /^\P{scx=Tai_Yo}+$/u, - Β· ────── - 69 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js:73:12] - 72 β”‚ testPropertyEscapes( - 73 β”‚ /^\P{scx=Tayo}+$/u, - Β· ──── - 74 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - -Expect to Parse: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js:24:26] - 23 β”‚ testPropertyEscapes( - 24 β”‚ /^\p{Script_Extensions=Tolong_Siki}+$/u, - Β· ─────────── - 25 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js:29:26] - 28 β”‚ testPropertyEscapes( - 29 β”‚ /^\p{Script_Extensions=Tols}+$/u, - Β· ──── - 30 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js:34:12] - 33 β”‚ testPropertyEscapes( - 34 β”‚ /^\p{scx=Tolong_Siki}+$/u, - Β· ─────────── - 35 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js:39:12] - 38 β”‚ testPropertyEscapes( - 39 β”‚ /^\p{scx=Tols}+$/u, - Β· ──── - 40 β”‚ matchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js:55:26] - 54 β”‚ testPropertyEscapes( - 55 β”‚ /^\P{Script_Extensions=Tolong_Siki}+$/u, - Β· ─────────── - 56 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js:60:26] - 59 β”‚ testPropertyEscapes( - 60 β”‚ /^\P{Script_Extensions=Tols}+$/u, - Β· ──── - 61 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js:65:12] - 64 β”‚ testPropertyEscapes( - 65 β”‚ /^\P{scx=Tolong_Siki}+$/u, - Β· ─────────── - 66 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - - Γ— Invalid regular expression: Invalid unicode property name - ╭─[test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js:70:12] - 69 β”‚ testPropertyEscapes( - 70 β”‚ /^\P{scx=Tols}+$/u, - Β· ──── - 71 β”‚ nonMatchSymbols, - ╰──── - help: Check the property name spelling or use a valid Unicode property - Expect to Parse: tasks/coverage/test262/test/language/statements/using/syntax/using-for-statement.js Γ— Unexpected token diff --git a/tasks/coverage/snapshots/semantic_test262.snap b/tasks/coverage/snapshots/semantic_test262.snap index 51b7a6b8635f0..a2ca653979365 100644 --- a/tasks/coverage/snapshots/semantic_test262.snap +++ b/tasks/coverage/snapshots/semantic_test262.snap @@ -2,7 +2,7 @@ commit: 6f55d0c2 semantic_test262 Summary: AST Parsed : 46563/46563 (100.00%) -Positive Passed: 44911/46563 (96.45%) +Positive Passed: 44919/46563 (96.47%) semantic Error: tasks/coverage/test262/test/annexB/language/expressions/assignmenttargettype/callexpression-as-for-in-lhs.js Cannot assign to this expression @@ -70,86 +70,6 @@ Symbol scope ID mismatch for "_step": after transform: SymbolId(5): ScopeId(5) rebuilt : SymbolId(9): ScopeId(4) -semantic Error: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Beria_Erfe.js -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name - -semantic Error: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sidetic.js -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name - -semantic Error: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Yo.js -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name - -semantic Error: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tolong_Siki.js -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name - -semantic Error: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Beria_Erfe.js -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name - -semantic Error: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sidetic.js -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name - -semantic Error: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Yo.js -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name - -semantic Error: tasks/coverage/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tolong_Siki.js -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name -Invalid regular expression: Invalid unicode property name - semantic Error: tasks/coverage/test262/test/language/arguments-object/cls-decl-async-private-gen-meth-args-trailing-comma-multiple.js Scope flags mismatch: after transform: ScopeId(2): ScopeFlags(StrictMode | Function)