Closed Bug 1508684 Opened 6 years ago Closed 5 years ago

test262 import.meta test fails with SyntaxError: invalid increment/decrement operand

Categories

(Core :: JavaScript Engine, defect, P3)

61 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1340307

People

(Reporter: jonco, Unassigned)

References

(Blocks 2 open bugs)

Details

With the latest test262 tests imported by bug 1508680, the following module test fails:

    test262/language/expressions/import.meta/syntax/invalid-assignment-target-update-expr.js

The error given is:

/home/jon/clone/modules/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-update-expr.js:33:0 SyntaxError: invalid increment/decrement operand:
/home/jon/clone/modules/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-update-expr.js:33:0 import.meta++;
/home/jon/clone/modules/js/src/tests/test262/language/expressions/import.meta/syntax/invalid-assignment-target-update-expr.js:33:0 ^
Stack:
  loadAndParse@shell/ModuleLoader.js:91:22
  loadAndExecute@shell/ModuleLoader.js:98:22
  importRoot@shell/ModuleLoader.js:103:16
  @shell/ModuleLoader.js:119:29
Blocks: test262
More or less a dup of bug 1340307.
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.