Jeff Morrison

Results 34 comments of Jeff Morrison

The [class properties spec states (Step 24.ii.a)](https://github.com/jeffmo/es-class-fields-and-static-properties#14514-runtime-semantics-classdefinitionevaluation) that the initializer scope inherits from the class-body scope; And the [ES6 spec states (Step 4)](http://www.ecma-international.org/ecma-262/6.0/index.html#sec-runtime-semantics-classdefinitionevaluation) that the class body scope _does_ have...

I would kind of prefer separate-dir/same-repo just to help things stay in sync with official lang updates.

@RReverser: Nothing, it's just harder to notice disjointness when the two things don't sit together. Syntax extensions are always coupled with the spec they're extending. It's doable...it'll just require more...

Awesome. Hopefully (time-permitting) I can have something more complete in the next week or two.

For the record: I'm not in complete agreement with the problem statement, but I am totally willing to explore and consider alternate syntax if it fits the same simplicity mold....

We're looking for an expression to be evaluated to a value (and eventually assigned). Statement lists don't evaluate to a value, though. If we had do-expressions, this would be a...

TypeScript uses `[[Set]]`/assignment: http://www.typescriptlang.org/play/index.html#src=class%20C%20%7B%0A%09f%20%3D%2042%3B%0A%7D

Important also to distinguish "instance" vs "static" fields: I believe it is both useful and important that `this` in instance fields should refer to the instance, and `this` in static...

> Binding this to the instance would necessitate a novel scope, where this is not lexically bound to the containing scope, but arguments is. In general, I would prefer not...