test262/test
Dmitriy Kubyshkin ba5529d926
Fix wrong error for a lexical redeclaration test (#3575)
The test as originally specified fails in all compatible parsers, but for the wrong reason. Below is an excerpt from V8, but all parser I tested behave the same:

```js
for (const x; false; ) {
           ^
SyntaxError: Missing initializer in const declaration
```

After the change the error is the assumed:

```js
  var x;
      ^
SyntaxError: Identifier 'x' has already been declared
```
2022-06-16 22:24:51 -04:00
..
annexB RegExp.prototype.compile from other realm should throw TypeError from other realm. 2021-09-10 15:04:11 -04:00
built-ins Add tests for TemporalInstantString with bracketed time zone annotation 2022-06-16 15:03:30 +02:00
harness Fix arithmetic in TemporalHelpers.oneShiftTimeZone 2022-04-04 16:24:17 -04:00
intl402 Temporal: Add tests for order of observable operations in *FromFields methods (#3568) 2022-06-14 15:46:16 +02:00
language Fix wrong error for a lexical redeclaration test (#3575) 2022-06-16 22:24:51 -04:00