mirror of https://github.com/tc39/test262.git
Generate new tests for redeclarations in block- and switch-statements
This commit is contained in:
parent
2763c3b178
commit
c8e808bc69
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-function-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function f() {} async function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function f() {} async function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-class-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with ClassDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function f() {} class f {}; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-const-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function f() {} const f = 0; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-function-declaration.case
|
||||
// - src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with FunctionDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function f() {} function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function f() {} function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-let-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function f() {} let f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-var-declaration.case
|
||||
// - src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with VariableDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function f() {} var f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-function-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function* f() {} async function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function* f() {} async function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-class-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with ClassDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function* f() {} class f {}; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-const-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function* f() {} const f = 0; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-function-declaration.case
|
||||
// - src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-async-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with FunctionDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function* f() {} function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function* f() {} function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-let-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-async-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function* f() {} let f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-var-declaration.case
|
||||
// - src/declarations/redeclare-allow-var/block-attempt-to-redeclare-async-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with VariableDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ async function* f() {} var f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-function-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ class f {} async function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ class f {} async function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-class-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template
|
||||
/*---
|
||||
description: redeclaration with ClassDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ class f {} class f {}; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-const-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template
|
||||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ class f {} const f = 0; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-function-declaration.case
|
||||
// - src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-class-declaration.template
|
||||
/*---
|
||||
description: redeclaration with FunctionDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ class f {} function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template
|
||||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ class f {} function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-let-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-class-declaration.template
|
||||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ class f {} let f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-var-declaration.case
|
||||
// - src/declarations/redeclare-allow-var/block-attempt-to-redeclare-class-declaration.template
|
||||
/*---
|
||||
description: redeclaration with VariableDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ class f {} var f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-function-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ const f = 0; async function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ const f = 0; async function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-class-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template
|
||||
/*---
|
||||
description: redeclaration with ClassDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ const f = 0; class f {}; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-const-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template
|
||||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ const f = 0; const f = 0; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-function-declaration.case
|
||||
// - src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-const-declaration.template
|
||||
/*---
|
||||
description: redeclaration with FunctionDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ const f = 0; function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template
|
||||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ const f = 0; function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-let-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-const-declaration.template
|
||||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ const f = 0; let f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-var-declaration.case
|
||||
// - src/declarations/redeclare-allow-var/block-attempt-to-redeclare-const-declaration.template
|
||||
/*---
|
||||
description: redeclaration with VariableDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ const f = 0; var f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-function-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function f() {} async function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function f() {} async function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-class-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with ClassDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function f() {} class f {}; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-const-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function f() {} const f = 0; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-function-declaration.case
|
||||
// - src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with FunctionDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function f() {} function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function f() {} function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-let-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function f() {} let f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-var-declaration.case
|
||||
// - src/declarations/redeclare-allow-var/block-attempt-to-redeclare-function-declaration.template
|
||||
/*---
|
||||
description: redeclaration with VariableDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function f() {} var f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-function-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function* f() {} async function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function* f() {} async function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-class-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with ClassDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function* f() {} class f {}; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-const-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function* f() {} const f = 0; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-function-declaration.case
|
||||
// - src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with FunctionDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function* f() {} function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function* f() {} function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-let-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function* f() {} let f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-var-declaration.case
|
||||
// - src/declarations/redeclare-allow-var/block-attempt-to-redeclare-generator-declaration.template
|
||||
/*---
|
||||
description: redeclaration with VariableDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ function* f() {} var f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-function-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ let f; async function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ let f; async function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-class-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template
|
||||
/*---
|
||||
description: redeclaration with ClassDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ let f; class f {}; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-const-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template
|
||||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ let f; const f = 0; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-function-declaration.case
|
||||
// - src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-let-declaration.template
|
||||
/*---
|
||||
description: redeclaration with FunctionDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ let f; function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template
|
||||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ let f; function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-let-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-let-declaration.template
|
||||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ let f; let f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-var-declaration.case
|
||||
// - src/declarations/redeclare-allow-var/block-attempt-to-redeclare-let-declaration.template
|
||||
/*---
|
||||
description: redeclaration with VariableDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ let f; var f; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-function-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ var f; async function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-async-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template
|
||||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ var f; async function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-class-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template
|
||||
/*---
|
||||
description: redeclaration with ClassDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ var f; class f {}; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-const-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template
|
||||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ var f; const f = 0; }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-function-declaration.case
|
||||
// - src/declarations/redeclare-allow-sloppy-function/block-attempt-to-redeclare-var-declaration.template
|
||||
/*---
|
||||
description: redeclaration with FunctionDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ var f; function f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-generator-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template
|
||||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ var f; function* f() {} }
|
|
@ -0,0 +1,20 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-let-declaration.case
|
||||
// - src/declarations/redeclare/block-attempt-to-redeclare-var-declaration.template
|
||||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
{ var f; let f; }
|
|
@ -0,0 +1,16 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/declarations/redeclare-with-var-declaration.case
|
||||
// - src/declarations/redeclare-allow-var/block-attempt-to-redeclare-var-declaration.template
|
||||
/*---
|
||||
description: redeclaration with VariableDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated]
|
||||
info: |
|
||||
Block : { StatementList }
|
||||
|
||||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
---*/
|
||||
|
||||
|
||||
{ var f; var f; }
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Execution order for yield* with async iterator and next() (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and return() (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and throw() (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and next() (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and return() (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and throw() (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Execution order for yield* with async iterator and next() (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and return() (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and throw() (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and next() (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and return() (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and throw() (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Execution order for yield* with async iterator and next() (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and return() (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and throw() (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and next() (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and return() (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and throw() (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Execution order for yield* with async iterator and next() (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and return() (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and throw() (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and next() (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and return() (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and throw() (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Execution order for yield* with async iterator and next() (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and return() (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and throw() (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and next() (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and return() (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and throw() (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Execution order for yield* with async iterator and next() (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and return() (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with async iterator and throw() (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and next() (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and return() (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration, Symbol.asyncIterator, async-iteration]
|
||||
features: [async-iteration, Symbol.asyncIterator]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: execution order for yield* with sync iterator and throw() (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue