async-function-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (AsyncFunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
705 |
async-function-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (AsyncFunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration, async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
725 |
async-function-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (AsyncFunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
677 |
async-function-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (AsyncFunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
686 |
async-function-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (AsyncFunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
710 |
async-function-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (AsyncFunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators, async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
703 |
async-function-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (AsyncFunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
676 |
async-function-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (AsyncFunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
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.
--- |
720 |
async-generator-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (AsyncGeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions, async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
725 |
async-generator-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (AsyncGeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
711 |
async-generator-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (AsyncGeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
680 |
async-generator-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (AsyncGeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
689 |
async-generator-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (AsyncGeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
713 |
async-generator-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (AsyncGeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators, async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
706 |
async-generator-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (AsyncGeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
679 |
async-generator-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (AsyncGeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
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.
--- |
723 |
browser.js |
|
0 |
class-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (ClassDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
677 |
class-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (ClassDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
680 |
class-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (ClassDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
621 |
class-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (ClassDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
630 |
class-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (ClassDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
654 |
class-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (ClassDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
658 |
class-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (ClassDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
620 |
class-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (ClassDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
664 |
const-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (LexicalDeclaration (const) in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
689 |
const-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (LexicalDeclaration (const) in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
692 |
const-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (LexicalDeclaration (const) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
633 |
const-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (LexicalDeclaration (const) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
642 |
const-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (LexicalDeclaration (const) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
666 |
const-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (LexicalDeclaration (const) in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
670 |
const-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (LexicalDeclaration (const) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
632 |
const-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (LexicalDeclaration (const) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
676 |
fn-scope-var-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (VariableDeclaration in BlockStatement inside a function)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
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.
--- |
752 |
fn-scope-var-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (VariableDeclaration in BlockStatement inside a function)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
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.
--- |
755 |
fn-scope-var-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (VariableDeclaration in BlockStatement inside a function)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
696 |
fn-scope-var-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (VariableDeclaration in BlockStatement inside a function)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
705 |
fn-scope-var-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (VariableDeclaration in BlockStatement inside a function)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
729 |
fn-scope-var-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (VariableDeclaration in BlockStatement inside a function)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
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.
--- |
733 |
fn-scope-var-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (VariableDeclaration in BlockStatement inside a function)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
695 |
fn-scope-var-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (VariableDeclaration in BlockStatement inside a function)
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.
--- |
627 |
function-declaration-attempt-to-redeclare-with-var-declaration-nested-in-function.js |
---
esid: sec-block-static-semantics-early-errors
description: >
Redeclaration with VariableDeclaration (FunctionDeclaration in BlockStatement)
info: |
13.2.1 Static Semantics: Early Errors
It is a Syntax Error if any element of the LexicallyDeclaredNames of
StatementList also occurs in the VarDeclaredNames of StatementList.
negative:
phase: parse
type: SyntaxError
--- |
825 |
function-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (FunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
688 |
function-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (FunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
691 |
function-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (FunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
632 |
function-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (FunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
641 |
function-name-redeclaration-attempt-with-function-strict.js |
---
description: redeclaration with FunctionDeclaration (FunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
691 |
function-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (FunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
669 |
function-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (FunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
631 |
function-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (FunctionDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
675 |
generator-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (GeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions, generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
703 |
generator-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (GeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration, generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
706 |
generator-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (GeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
658 |
generator-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (GeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
667 |
generator-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (GeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
691 |
generator-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (GeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
672 |
generator-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (GeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
657 |
generator-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (GeneratorDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
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.
--- |
701 |
inner-block-var-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1126 |
inner-block-var-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1129 |
inner-block-var-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1070 |
inner-block-var-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1079 |
inner-block-var-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1102 |
inner-block-var-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1107 |
inner-block-var-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1069 |
inner-block-var-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (VariableDeclaration in a BlockStatement inside a 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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1001 |
inner-block-var-redeclaration-attempt-after-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1132 |
inner-block-var-redeclaration-attempt-after-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1135 |
inner-block-var-redeclaration-attempt-after-class.js |
---
description: redeclaration with ClassDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1076 |
inner-block-var-redeclaration-attempt-after-const.js |
---
description: redeclaration with const-LexicalDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1085 |
inner-block-var-redeclaration-attempt-after-function.js |
---
description: redeclaration with FunctionDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1108 |
inner-block-var-redeclaration-attempt-after-generator.js |
---
description: redeclaration with GeneratorDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1113 |
inner-block-var-redeclaration-attempt-after-let.js |
---
description: redeclaration with let-LexicalDeclaration (VariableDeclaration in a BlockStatement inside a BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
Static Semantics: VarDeclaredNames
Block : { }
1. Return a new empty List.
StatementList : StatementList StatementListItem
1. Let names be VarDeclaredNames of StatementList.
2. Append to names the elements of the VarDeclaredNames of StatementListItem.
3. Return names.
StatementListItem : Declaration
1. Return a new empty List.
--- |
1075 |
let-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (LexicalDeclaration (let) in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
679 |
let-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (LexicalDeclaration (let) in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
682 |
let-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (LexicalDeclaration (let) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
623 |
let-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (LexicalDeclaration (let) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
632 |
let-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (LexicalDeclaration (let) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
656 |
let-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (LexicalDeclaration (let) in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
660 |
let-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (LexicalDeclaration (let) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
--- |
622 |
let-name-redeclaration-attempt-with-var.js |
---
description: redeclaration with VariableDeclaration (LexicalDeclaration (let) in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
666 |
shell.js |
|
0 |
var-name-redeclaration-attempt-with-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
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.
--- |
711 |
var-name-redeclaration-attempt-with-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
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.
--- |
714 |
var-name-redeclaration-attempt-with-class.js |
---
description: redeclaration with ClassDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
655 |
var-name-redeclaration-attempt-with-const.js |
---
description: redeclaration with const-LexicalDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
664 |
var-name-redeclaration-attempt-with-function.js |
---
description: redeclaration with FunctionDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
688 |
var-name-redeclaration-attempt-with-generator.js |
---
description: redeclaration with GeneratorDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
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.
--- |
692 |
var-name-redeclaration-attempt-with-let.js |
---
description: redeclaration with let-LexicalDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
654 |
var-name-redeclaration-attempt-with-var.js |
---
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.
--- |
587 |
var-redeclaration-attempt-after-async-function.js |
---
description: redeclaration with AsyncFunctionDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-functions]
flags: [generated]
negative:
phase: parse
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.
--- |
718 |
var-redeclaration-attempt-after-async-generator.js |
---
description: redeclaration with AsyncGeneratorDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [async-iteration]
flags: [generated]
negative:
phase: parse
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.
--- |
721 |
var-redeclaration-attempt-after-class.js |
---
description: redeclaration with ClassDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
662 |
var-redeclaration-attempt-after-const.js |
---
description: redeclaration with const-LexicalDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
671 |
var-redeclaration-attempt-after-function.js |
---
description: redeclaration with FunctionDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
695 |
var-redeclaration-attempt-after-generator.js |
---
description: redeclaration with GeneratorDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
features: [generators]
flags: [generated]
negative:
phase: parse
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.
--- |
699 |
var-redeclaration-attempt-after-let.js |
---
description: redeclaration with let-LexicalDeclaration (VariableDeclaration in BlockStatement)
esid: sec-block-static-semantics-early-errors
flags: [generated]
negative:
phase: parse
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.
--- |
661 |