Closed Bug 1317391 Opened 8 years ago Closed 8 years ago

Classes extending null are no longer considered derived classes in ES2017

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox53 --- affected

People

(Reporter: anba, Unassigned)

References

(Blocks 1 open bug)

Details

`new class extends null {};` no longer throws a TypeError with the current ES2017 semantics. ES2017 spec and related discussions: https://tc39.github.io/ecma262/#sec-runtime-semantics-classdefinitionevaluation https://github.com/tc39/ecma262/issues/543 https://github.com/tc39/ecma262/issues/699
TC39 has reverted the spec change in https://github.com/tc39/ecma262/pull/781.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.