blob: f226dbdac9732f3d5ccf57166759d13c52c8d1c1 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/declarations/function.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: parse
type: SyntaxError
info: |
Block : { StatementList }
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
any duplicate entries.
---*/
$DONOTEVALUATE();
{ let f; function f() {} }