Jay Phelps

Results 130 comments of Jay Phelps

@robwormald you still up for this?

I'm probably missing something, but why use Java-style getters/setters instead of native ones? ``` js const __bar__ = Symbol('__bar__'); class Foo { get bar() { return this[__bar__]; } set bar(value)...

Can someone provide a real-world example where these getters/setters being generated benefits you in some way?

@silkentrance ah, I definitely see that particular issue but I think we can easy resolve it in a way that would be cleaner and still keep native getter/setters. What if...

@silkentrance It seems so. I don't believe OP had your issue in mind, but I could be wrong. If OP can confirm, we can split into a different ticket. I...

I'm fine with the proposed breaking changes on my end.

@kripken Roger that. I discovered I can access them via the binaryen namespace directly e.g. `binaryen._TypeBuilderCreate(1)` so I'm going to try and get that working with my code first.

@ericvergnaud Because the APIs are not yet exposed/wrapped in the clean JS API you have to do things a bit more manually, like allocating/deallocating space in binaryen's memory space for...

It may or may not be worth mentioning that TypeScript's WIP branch for ES6/decorators (demo'd for Angular 2.0) supports decorators [_before_ the export declaration](https://github.com/Microsoft/TypeScript/tree/fad889283e710ee947e8412e173d2c050107a3c1/src/compiler/parser.ts#L5117). This doesn't appear to be inline...