mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
26b0437c4f
commit
dde12905df
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration, async-functions]
|
||||
features: [async-iteration, async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with ClassDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with FunctionDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with VariableDeclaration (AsyncFunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions, async-iteration]
|
||||
features: [async-functions, async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with ClassDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with FunctionDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with VariableDeclaration (AsyncGeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (ClassDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (LexicalDeclaration (const) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (FunctionDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (GeneratorDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (LexicalDeclaration (let) in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (VariableDeclaration in BlockStatement)
|
||||
esid: sec-block-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (AsyncFunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (AsyncFunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration, async-functions]
|
||||
features: [async-iteration, async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with ClassDeclaration (AsyncFunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (AsyncFunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with FunctionDeclaration (AsyncFunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (AsyncFunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (AsyncFunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with VariableDeclaration (AsyncFunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (AsyncGeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions, async-iteration]
|
||||
features: [async-functions, async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (AsyncGeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with ClassDeclaration (AsyncGeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with const-LexicalDeclaration (AsyncGeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with FunctionDeclaration (AsyncGeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with GeneratorDeclaration (AsyncGeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with let-LexicalDeclaration (AsyncGeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with VariableDeclaration (AsyncGeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (ClassDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (ClassDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (LexicalDeclaration (const) in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (LexicalDeclaration (const) in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (FunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (FunctionDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (GeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (GeneratorDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (LexicalDeclaration (let) in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (LexicalDeclaration (let) in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncFunctionDeclaration (VariableDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-functions]
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
/*---
|
||||
description: redeclaration with AsyncGeneratorDeclaration (VariableDeclaration in SwitchStatement)
|
||||
esid: sec-switch-statement-static-semantics-early-errors
|
||||
flags: [generated, async-iteration]
|
||||
features: [async-iteration]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: early
|
||||
type: SyntaxError
|
||||
|
|
Loading…
Reference in New Issue