Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test262
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pmaksimo
test262
Commits
e8558158
Commit
e8558158
authored
6 years ago
by
Ross Kirsling
Committed by
Rick Waldron
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Delete early-catch-var.js
parent
653a0684
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/language/statements/try/early-catch-var.js
+0
-21
0 additions, 21 deletions
test/language/statements/try/early-catch-var.js
with
0 additions
and
21 deletions
test/language/statements/try/early-catch-var.js
deleted
100644 → 0
+
0
−
21
View file @
653a0684
// 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-try-statement-static-semantics-early-errors
es6id: 13.15.1
description: >
It is a Syntax Error if any element of the BoundNames of CatchParameter
also occurs in the VarDeclaredNames of Block.
info: |
Annex B extensions permit re-declarations from VariableStatement, the
VariableDeclarationList of a for statement, and the ForBinding of a for-of
statement. Bindings from the ForBinding of a for-in statement are
restricted regardless of the application of Annex B.
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE
();
try
{
}
catch
(
x
)
{
for
(
var
x
of
[])
{}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment