Closed Bug 1670018 Opened 4 years ago Closed 3 years ago

[meta] Class static initialization block

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: yulia, Assigned: mgaudet)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed, meta, Whiteboard: [DocArea=JS])

Currently at stage 2

Summary from the proposal:

Class static blocks provide a mechanism to perform additional static initialization during class definition evaluation.

This is not intended as a replacement for public fields, as they provide useful information for static analysis tools and are a valid target for decorators. Rather, this is intended to augment existing use cases and enable new use cases not currently handled by that proposal.

:mgaudet is poking at this, I will let him assign himself if he wants to take it on!

Assignee: nobody → mgaudet
Depends on: 1712138
Depends on: 1712173
Depends on: 1712174
Summary: Implement Class static initialization block → [meta] Class static initialization block
Depends on: 1713155
Depends on: 1720901
Depends on: 1725689

(this is actually shipped, so I'm going to close this bug)

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Blocks: 1757035
Depends on: 1765357
You need to log in before you can comment on or make changes to this bug.