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.
|
||||
/*---
|
||||
esid: sec-variablestatements-in-catch-blocks
|
||||
es6id: B3.5
|
||||
es6id: B.3.5
|
||||
description: Re-declaration of catch parameter
|
||||
info: |
|
||||
[...]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Extensions to ClassEscape
|
||||
info: |
|
||||
ClassEscape[U] ::
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Extended Pattern Characters (as distinct from Pattern Characters)
|
||||
info: |
|
||||
ExtendedPatternCharacter ::
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Support for UnicodeIDContinue in IdentityEscape
|
||||
info: |
|
||||
IdentityEscape[U] ::
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Legacy Octal Escape Sequence
|
||||
info: |
|
||||
CharacterEscape[U]::
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Extensions to NonemptyClassRangesNoDash production
|
||||
info: |
|
||||
The production
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Extensions to NonemptyClassRanges production
|
||||
info: |
|
||||
The production NonemptyClassRanges :: ClassAtom-ClassAtom ClassRanges
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Quantifiable assertions `?=` ("followed by")
|
||||
info: |
|
||||
Term[U] ::
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Quantifiable assertions `?!` ("not followed by")
|
||||
info: |
|
||||
Term[U] ::
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-additional-syntax-string-literals
|
||||
es6id: B1.2
|
||||
es6id: B.1.2
|
||||
description: String value for LegacyOctalEscapeSequence
|
||||
info: |
|
||||
EscapeSequence ::
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-variablestatements-in-catch-blocks
|
||||
es6id: B3.5
|
||||
es6id: B.3.5
|
||||
description: Re-declaration of catch parameter (for-in statement)
|
||||
info: |
|
||||
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.
|
||||
/*---
|
||||
esid: sec-variablestatements-in-catch-blocks
|
||||
es6id: B3.5
|
||||
es6id: B.3.5
|
||||
description: Re-declaration of catch parameter (for-in statement)
|
||||
info: |
|
||||
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.
|
||||
// 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.
|
||||
info: >
|
||||
17 ECMAScript Standard Built-in Objects
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// 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.
|
||||
info: >
|
||||
17 ECMAScript Standard Built-in Objects
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// 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.
|
||||
info: >
|
||||
17 ECMAScript Standard Built-in Objects
|
||||
|
|
|
@ -7,7 +7,6 @@ description: >
|
|||
The method should exist on the ArrayIterator prototype, and it should be
|
||||
writable and configurable, but not enumerable.
|
||||
includes: [propertyHelper.js]
|
||||
es6id: 17
|
||||
features: [Symbol.iterator]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -4,10 +4,9 @@
|
|||
/*---
|
||||
info: |
|
||||
Symbol.species is retained on subclassing
|
||||
es6id:
|
||||
author: Sam Mikes
|
||||
description: Symbol.species is retained on subclassing
|
||||
includes:
|
||||
includes:
|
||||
- propertyHelper.js
|
||||
features: [Symbol.species]
|
||||
---*/
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: 12.1.1
|
||||
esid: pending
|
||||
description: >
|
||||
`await` is not a valid BindingIdentifier for AsyncGeneratorExpressions.
|
||||
negative:
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: 12.1.1
|
||||
esid: pending
|
||||
description: >
|
||||
`yield` is not a valid BindingIdentifier for AsyncGeneratorExpressions.
|
||||
negative:
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
/*---
|
||||
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.
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
/*---
|
||||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: sec-generator-function-definitionsdescription: >
|
||||
esid: sec-generator-function-definitions
|
||||
description: >
|
||||
AwaitExpressions are valid operands to yield expressions.
|
||||
flags: [async]
|
||||
features: [async-iteration]
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
/*---
|
||||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: sec-generator-function-definitionsdescription: >
|
||||
esid: sec-generator-function-definitions
|
||||
description: >
|
||||
AwaitExpressions are valid operands to yield expressions.
|
||||
flags: [async]
|
||||
features: [async-iteration]
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
/*---
|
||||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: sec-generator-function-definitionsdescription: >
|
||||
esid: sec-generator-function-definitions
|
||||
description: >
|
||||
AwaitExpressions are valid operands to yield expressions.
|
||||
flags: [async]
|
||||
features: [async-iteration]
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
/*---
|
||||
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`
|
||||
expressions.
|
||||
flags: [async]
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
/*---
|
||||
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.
|
||||
flags: [async]
|
||||
features: [async-iteration]
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
/*---
|
||||
author: Caitlin Potter <caitp@igalia.com>
|
||||
esid: sec-generator-function-definitionsdescription: >
|
||||
esid: sec-generator-function-definitions
|
||||
description: >
|
||||
Newlines terminate `yield` expressions.
|
||||
flags: [async]
|
||||
features: [async-iteration]
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
/*---
|
||||
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.
|
||||
flags: [async]
|
||||
features: [async-iteration]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-regular-expressions-patterns
|
||||
es6id: B1.4
|
||||
es6id: B.1.4
|
||||
description: Quantifiable assertions disallowed with `u` flag
|
||||
info: |
|
||||
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.
|
||||
/*---
|
||||
esid: sec-additional-syntax-string-literals
|
||||
es6id: B1.2
|
||||
es6id: B.1.2
|
||||
description: >
|
||||
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
|
||||
the presence of Annex B)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-additional-syntax-string-literals
|
||||
es6id: B1.2
|
||||
es6id: B.1.2
|
||||
description: >
|
||||
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
|
||||
the presence of Annex B)
|
||||
|
|
Loading…
Reference in New Issue