tc39 / proposal-class-public-fields

Stage 2 proposal for public class fields in ECMAScript
https://tc39.github.io/proposal-class-public-fields/
487 stars 25 forks source link

Use method scope semantics for initializers #43

Closed littledan closed 8 years ago

littledan commented 8 years ago

This patch regularizes initializer scopes to make them just like a method, as discussed at the July 2016 TC39 meeting.

Effects of this patch:

ljharb commented 8 years ago

I don't think this actually gained consensus though - there's still some disagreement

jeffmo commented 8 years ago

Ok, going to merge this since it's what we landed on at the meeting -- but I will be sure the discussion over in https://github.com/jeffmo/es-class-public-fields/issues/34 is addressed before we try to advance to Stage 3.

ljharb commented 8 years ago

@jeffmo I wasn't aware this (arguments/new.target in initializers) had achieved consensus at the last meeting, so let's please plan to discuss it at the next one.