Remove no longer needed manual redeclaration tests

This commit is contained in:
André Bargull 2017-05-04 09:34:34 -07:00
parent c8e808bc69
commit 49221fce1f
7 changed files with 0 additions and 110 deletions

View File

@ -1,14 +0,0 @@
// Copyright (C) 2011 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: B.3.3
description: >
redeclaration within block:
attempt to redeclare function declaration with function declaration
negative:
phase: early
type: SyntaxError
flags: [onlyStrict]
---*/
{ function f() {} function f() {} }

View File

@ -1,12 +0,0 @@
// Copyright (C) 2011 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: B.3.3
description: >
redeclaration within block:
attempt to redeclare function declaration with let
negative:
phase: early
type: SyntaxError
---*/
{ function f() {} let f; }

View File

@ -1,12 +0,0 @@
// Copyright (C) 2011 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: B.3.3
description: >
redeclaration within block:
attempt to redeclare function declaration with var
negative:
phase: early
type: SyntaxError
---*/
{ function f() {} var f; }

View File

@ -1,13 +0,0 @@
// Copyright (C) 2011 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: B.3.3
description: >
redeclaration within block:
attempt to redeclare var binding with let
negative:
phase: early
type: SyntaxError
---*/
{ var f; let f; }

View File

@ -1,13 +0,0 @@
// Copyright (C) 2011 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: B.3.3
description: >
redeclaration within block:
attempt to redeclare var with function declaration
negative:
phase: early
type: SyntaxError
---*/
{ var f; function f() {} }

View File

@ -1,22 +0,0 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-switch-statement-static-semantics-early-errors
es6id: 13.12.1
description: Syntax error from duplicate lexical variables
info: >
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
duplicate entries.
negative:
phase: early
type: SyntaxError
features: [let, const]
---*/
switch (0) {
case 1:
let test262id;
break;
default:
const test262id = null;
}

View File

@ -1,24 +0,0 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-switch-statement-static-semantics-early-errors
es6id: 13.12.1
description: >
Syntax error from collisions between lexical variables and var-declarared
variables
info: >
It is a Syntax Error if any element of the LexicallyDeclaredNames of
CaseClauses also occurs in the VarDeclaredNames of CaseClauses.
negative:
phase: early
type: SyntaxError
features: [let]
---*/
switch (0) {
case 1:
var test262id;
break;
default:
let test262id;
}