Skip to content
Snippets Groups Projects
Commit a8bfcab1 authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #137 from anba/issue-120/use-annexb-semantics

Revert 12.14-1 and 12.14-2 (Fixes #120)
parents 49abae4f 2903a4c8
No related branches found
No related tags found
No related merge requests found
......@@ -7,14 +7,12 @@
/*---
es5id: 12.14-1
description: >
var initializer in catch with same name as catch parameter is a
SyntaxError
negative: ^((?!NotEarlyError).)*$
catch doesn't change declaration scope - var initializer in catch
with same name as catch parameter changes parameter
features: [AnnexB]
includes: [runTestCase.js]
---*/
throw NotEarlyError;
function testcase() {
foo = "prior to throw";
try {
......
......@@ -7,14 +7,12 @@
/*---
es5id: 12.14-2
description: >
var initializer in catch with same name as catch parameter is a
SyntaxError
negative: ^((?!NotEarlyError).)*$
catch doesn't change declaration scope - var initializer in catch
with same name as catch parameter changes parameter
features: [AnnexB]
includes: [runTestCase.js]
---*/
throw NotEarlyError;
function testcase() {
function capturedFoo() {return foo};
foo = "prior to throw";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment