Closed Bug 1712138 Opened 3 years ago Closed 3 years ago

Basic Implementation of Class Static Blocks

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: mgaudet, Assigned: mgaudet)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

Basic Implementation of class static blocks

Assignee: nobody → mgaudet
Status: NEW → ASSIGNED

Reflect.parse will MOZ_CRASH in this patch, but the implementation arrives
in the next.

Depends on D115627

Blocks: 1712173
Blocks: 1712174

There's still an unresolved GitHub issue that may require more work on these patches: https://github.com/tc39/proposal-class-static-block/issues/43

I also haven't yet tested against the in-flight test cases in https://github.com/tc39/test262/pull/2968

Ok, now I have run the tests. Failed 3/29 tests:

test262/prs/2968/language/expressions/object/identifier-shorthand-static-init-await-invalid.js
test262/prs/2968/language/identifier-resolution/static-init-invalid-await.js
test262/prs/2968/language/statements/class/static-init-await-binding-invalid.js

Investigating now :)

All of them are related to the complications around await handling. fixing these may best be handled as a followup once that's more resolved.

Attachment #9222862 - Attachment is obsolete: true
Severity: -- → S3
Priority: -- → P3
Priority: P3 → P1
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/858b9355518c
Add option for class-static blocks r=arai
https://hg.mozilla.org/integration/autoland/rev/af05724a3efa
Initial implementation of class-static-fields proposal. r=arai
https://hg.mozilla.org/integration/autoland/rev/22433f887b2f
Implement Reflect.parse for static class blocks r=arai
Blocks: 1713155
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: