mirror of https://github.com/tc39/test262.git
Fix: various lint fixes
This commit is contained in:
parent
40cb228633
commit
4afc330363
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-variablestatements-in-catch-blocks
|
esid: sec-variablestatements-in-catch-blocks
|
||||||
es6id: B3.5
|
es6id: B.3.5
|
||||||
description: Re-declaration of catch parameter
|
description: Re-declaration of catch parameter
|
||||||
info: |
|
info: |
|
||||||
[...]
|
[...]
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Extensions to ClassEscape
|
description: Extensions to ClassEscape
|
||||||
info: |
|
info: |
|
||||||
ClassEscape[U] ::
|
ClassEscape[U] ::
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Extended Pattern Characters (as distinct from Pattern Characters)
|
description: Extended Pattern Characters (as distinct from Pattern Characters)
|
||||||
info: |
|
info: |
|
||||||
ExtendedPatternCharacter ::
|
ExtendedPatternCharacter ::
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Support for UnicodeIDContinue in IdentityEscape
|
description: Support for UnicodeIDContinue in IdentityEscape
|
||||||
info: |
|
info: |
|
||||||
IdentityEscape[U] ::
|
IdentityEscape[U] ::
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Legacy Octal Escape Sequence
|
description: Legacy Octal Escape Sequence
|
||||||
info: |
|
info: |
|
||||||
CharacterEscape[U]::
|
CharacterEscape[U]::
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Extensions to NonemptyClassRangesNoDash production
|
description: Extensions to NonemptyClassRangesNoDash production
|
||||||
info: |
|
info: |
|
||||||
The production
|
The production
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Extensions to NonemptyClassRanges production
|
description: Extensions to NonemptyClassRanges production
|
||||||
info: |
|
info: |
|
||||||
The production NonemptyClassRanges :: ClassAtom-ClassAtom ClassRanges
|
The production NonemptyClassRanges :: ClassAtom-ClassAtom ClassRanges
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Quantifiable assertions `?=` ("followed by")
|
description: Quantifiable assertions `?=` ("followed by")
|
||||||
info: |
|
info: |
|
||||||
Term[U] ::
|
Term[U] ::
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Quantifiable assertions `?!` ("not followed by")
|
description: Quantifiable assertions `?!` ("not followed by")
|
||||||
info: |
|
info: |
|
||||||
Term[U] ::
|
Term[U] ::
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-additional-syntax-string-literals
|
esid: sec-additional-syntax-string-literals
|
||||||
es6id: B1.2
|
es6id: B.1.2
|
||||||
description: String value for LegacyOctalEscapeSequence
|
description: String value for LegacyOctalEscapeSequence
|
||||||
info: |
|
info: |
|
||||||
EscapeSequence ::
|
EscapeSequence ::
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-variablestatements-in-catch-blocks
|
esid: sec-variablestatements-in-catch-blocks
|
||||||
es6id: B3.5
|
es6id: B.3.5
|
||||||
description: Re-declaration of catch parameter (for-in statement)
|
description: Re-declaration of catch parameter (for-in statement)
|
||||||
info: |
|
info: |
|
||||||
It is a Syntax Error if any element of the BoundNames of CatchParameter
|
It is a Syntax Error if any element of the BoundNames of CatchParameter
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-variablestatements-in-catch-blocks
|
esid: sec-variablestatements-in-catch-blocks
|
||||||
es6id: B3.5
|
es6id: B.3.5
|
||||||
description: Re-declaration of catch parameter (for-in statement)
|
description: Re-declaration of catch parameter (for-in statement)
|
||||||
info: |
|
info: |
|
||||||
It is a Syntax Error if any element of the BoundNames of CatchParameter
|
It is a Syntax Error if any element of the BoundNames of CatchParameter
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: sec-array.prototype.flatMap
|
esid: sec-array.prototype.flatMap
|
||||||
description: Array.prototype.flatMap.length value and descriptor.
|
description: Array.prototype.flatMap.length value and descriptor.
|
||||||
info: >
|
info: >
|
||||||
17 ECMAScript Standard Built-in Objects
|
17 ECMAScript Standard Built-in Objects
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: sec-array.prototype.flatmap
|
esid: sec-array.prototype.flatmap
|
||||||
description: Array.prototype.flatmap name value and descriptor.
|
description: Array.prototype.flatmap name value and descriptor.
|
||||||
info: >
|
info: >
|
||||||
17 ECMAScript Standard Built-in Objects
|
17 ECMAScript Standard Built-in Objects
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
es6id: sec-array.prototype.flatten
|
esid: sec-array.prototype.flatten
|
||||||
description: Array.prototype.flatten.length value and descriptor.
|
description: Array.prototype.flatten.length value and descriptor.
|
||||||
info: >
|
info: >
|
||||||
17 ECMAScript Standard Built-in Objects
|
17 ECMAScript Standard Built-in Objects
|
||||||
|
|
|
@ -7,7 +7,6 @@ description: >
|
||||||
The method should exist on the ArrayIterator prototype, and it should be
|
The method should exist on the ArrayIterator prototype, and it should be
|
||||||
writable and configurable, but not enumerable.
|
writable and configurable, but not enumerable.
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
es6id: 17
|
|
||||||
features: [Symbol.iterator]
|
features: [Symbol.iterator]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
/*---
|
/*---
|
||||||
info: |
|
info: |
|
||||||
Symbol.species is retained on subclassing
|
Symbol.species is retained on subclassing
|
||||||
es6id:
|
|
||||||
author: Sam Mikes
|
author: Sam Mikes
|
||||||
description: Symbol.species is retained on subclassing
|
description: Symbol.species is retained on subclassing
|
||||||
includes:
|
includes:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: 12.1.1
|
esid: pending
|
||||||
description: >
|
description: >
|
||||||
`await` is not a valid BindingIdentifier for AsyncGeneratorExpressions.
|
`await` is not a valid BindingIdentifier for AsyncGeneratorExpressions.
|
||||||
negative:
|
negative:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: 12.1.1
|
esid: pending
|
||||||
description: >
|
description: >
|
||||||
`yield` is not a valid BindingIdentifier for AsyncGeneratorExpressions.
|
`yield` is not a valid BindingIdentifier for AsyncGeneratorExpressions.
|
||||||
negative:
|
negative:
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: sec-generator-function-definitionsdescription: >
|
esid: sec-generator-function-definitions
|
||||||
|
description: >
|
||||||
A newline may not precede the `*` token in a `yield` expression.
|
A newline may not precede the `*` token in a `yield` expression.
|
||||||
negative:
|
negative:
|
||||||
phase: parse
|
phase: parse
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: sec-generator-function-definitionsdescription: >
|
esid: sec-generator-function-definitions
|
||||||
|
description: >
|
||||||
AwaitExpressions are valid operands to yield expressions.
|
AwaitExpressions are valid operands to yield expressions.
|
||||||
flags: [async]
|
flags: [async]
|
||||||
features: [async-iteration]
|
features: [async-iteration]
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: sec-generator-function-definitionsdescription: >
|
esid: sec-generator-function-definitions
|
||||||
|
description: >
|
||||||
AwaitExpressions are valid operands to yield expressions.
|
AwaitExpressions are valid operands to yield expressions.
|
||||||
flags: [async]
|
flags: [async]
|
||||||
features: [async-iteration]
|
features: [async-iteration]
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: sec-generator-function-definitionsdescription: >
|
esid: sec-generator-function-definitions
|
||||||
|
description: >
|
||||||
AwaitExpressions are valid operands to yield expressions.
|
AwaitExpressions are valid operands to yield expressions.
|
||||||
flags: [async]
|
flags: [async]
|
||||||
features: [async-iteration]
|
features: [async-iteration]
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: sec-generator-function-definitionsdescription: >
|
esid: sec-generator-function-definitions
|
||||||
|
description: >
|
||||||
`yield` expressions may be used as the right-hand-side of other `yield`
|
`yield` expressions may be used as the right-hand-side of other `yield`
|
||||||
expressions.
|
expressions.
|
||||||
flags: [async]
|
flags: [async]
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: sec-generator-function-definitionsdescription: >
|
esid: sec-generator-function-definitions
|
||||||
|
description: >
|
||||||
`yield` is a valid statement within async generator function bodies.
|
`yield` is a valid statement within async generator function bodies.
|
||||||
flags: [async]
|
flags: [async]
|
||||||
features: [async-iteration]
|
features: [async-iteration]
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: sec-generator-function-definitionsdescription: >
|
esid: sec-generator-function-definitions
|
||||||
|
description: >
|
||||||
Newlines terminate `yield` expressions.
|
Newlines terminate `yield` expressions.
|
||||||
flags: [async]
|
flags: [async]
|
||||||
features: [async-iteration]
|
features: [async-iteration]
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
author: Caitlin Potter <caitp@igalia.com>
|
author: Caitlin Potter <caitp@igalia.com>
|
||||||
esid: sec-generator-function-definitionsdescription: >
|
esid: sec-generator-function-definitions
|
||||||
|
description: >
|
||||||
The right-hand side of a `yield *` expression may appear on a new line.
|
The right-hand side of a `yield *` expression may appear on a new line.
|
||||||
flags: [async]
|
flags: [async]
|
||||||
features: [async-iteration]
|
features: [async-iteration]
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-regular-expressions-patterns
|
esid: sec-regular-expressions-patterns
|
||||||
es6id: B1.4
|
es6id: B.1.4
|
||||||
description: Quantifiable assertions disallowed with `u` flag
|
description: Quantifiable assertions disallowed with `u` flag
|
||||||
info: |
|
info: |
|
||||||
The `u` flag precludes quantifiable assertions (even when Annex B is
|
The `u` flag precludes quantifiable assertions (even when Annex B is
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-additional-syntax-string-literals
|
esid: sec-additional-syntax-string-literals
|
||||||
es6id: B1.2
|
es6id: B.1.2
|
||||||
description: >
|
description: >
|
||||||
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
|
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
|
||||||
the presence of Annex B)
|
the presence of Annex B)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
esid: sec-additional-syntax-string-literals
|
esid: sec-additional-syntax-string-literals
|
||||||
es6id: B1.2
|
es6id: B.1.2
|
||||||
description: >
|
description: >
|
||||||
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
|
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
|
||||||
the presence of Annex B)
|
the presence of Annex B)
|
||||||
|
|
Loading…
Reference in New Issue