diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js index bb65446c91c872ee45bd6a31760e918fbbb87375..c5654cd220ed217ebd15905f56603a0ba4ea4eb5 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} let f = () => import('./script-code-valid.js'); diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js index e5d88aca4f192dedbce4fde02fb3c49ad2b5f51b..590fff106f11f7420c7d250f1c75fafc2744bc3a 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} let f = () => { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js index 653758e7eb6dc827c7f4abc14dfaf8b6d46dcc60..90849fabfe36863028cc816da16777c3e39294e9 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} async function f() { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js index d66168a9358fcb41d93b827dd399f690dd0b03d4..f383065913465092cae33b5087905c9dda67a470 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} async function f() { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js index c11335ff13e33b2ef0878706c276b77f1d86faf9..e00d0a7ffdbee48c09c9720e89bac53769e3642d 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} async function f() { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js index 5ee1cdd9005e0dd8ffae580ea5ad28297614a4fc..0d36b64b70dfa0ac40d4c526a77ab500fe23df04 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} label: { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js index c8d11be30ffd519d0556cdb75191abc75493010a..f66e994bd06829810b0b4e055b3e763e8a34d2f7 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js index 99f29fc051da4e1666c4c795771ab8d62431e386..1b86097b58448ff3c7753d407d73671eebfddde8 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} do { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js index f9f2c9fb07b219181233a9368736f7e0224a39b7..4426fcca22c2f01099eeb0b30d6f7fdebb8bf3bf 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} if (false) { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js index ca6918a2945ab84a72fd4968abcaa2a1f5d38236..7ec91b881a30c0e613df73ee46c0f614de8cc54d 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} if (false) { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js index dc950a2b9c7e7d73e607b5de19dca3e93d978fb6..5a871fa54affccb9904dfa1c223a67a2166af329 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} function fn() { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js index 22198dc752f3c821dbaeb0bfb1897e3183a83aed..68f127e3e1cca5086619bc951bcbba3a0ba810ce 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} function fn() { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js index 579eab71588a01323c6beff541ca9bb70e160254..e449237b2bda8b69acfe6e6a26150343a1d6c026 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} if (true) import('./script-code-valid.js'); diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js index 379707ed72faf97133c02eedc7e0eb2a6edf00de..f2b1eb9c25604ec66ef58e3e99feb131fb8ecc36 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} if (true) { diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js index dbe745629ff45bf1b8a8275f8fd1d771fd6db1d1..b196e203ea4a0deda6c4e8bd38e6e0199c3605ca 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} let x = 0; diff --git a/test/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js index 1d7e11328953523aabdf8e8b465851fd9e4eb261..b46979d5ece4dd73928d0143dc618b20f8497531 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js @@ -23,7 +23,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} with ({}) { diff --git a/test/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js b/test/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js index 4bd26b294ace0bc8b270825e1180696bcfe94b4d..3aa54554ba511e998e9dacecae48ce53688ee0af 100644 --- a/test/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js +++ b/test/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js @@ -13,7 +13,7 @@ info: | ---*/ // This is still valid in script code, and should not be valid for module code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames -var x; function x() {} +var smoosh; function smoosh() {} import('./script-code-valid.js');