tc39 / proposal-static-class-features

The static parts of new class features, in a separate proposal
https://arai-a.github.io/ecma262-compare/?pr=1668
127 stars 27 forks source link

Normative: Prohibit mismatched getter/setter pairs #55

Closed littledan closed 4 years ago

littledan commented 4 years ago

It must be an early error to have a static private getter and non-static private setter, or vice versa, for the same private name. This PR creates that early error.

Closes #48

littledan commented 4 years ago

This is a simple logic error fix (there's no way it could work otherwise), so I'm merging it now. We'll present it at an upcoming TC39 meeting.