mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
7ec5d801f0
commit
874f508077
|
@ -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');
|
||||
|
|
|
@ -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 = () => {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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() {}
|
||||
|
||||
|
||||
{
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 ({}) {
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue