Chris Connelly
Chris Connelly
_Edit:_ I misunderstood the problem :( Basically you want `?` soaking to capture the full assignment expression, not just the access. ~~The problem is `records[0]?.default` evaluates to the equivalent of...
That kind of syntax was fantastic with jQuery: ``` coffee $('').css 'color': 'blue' 'text-decoration': 'underline' .appendTo 'body' ``` `==` ``` javascript $('').css({ 'color': 'blue', 'text-decoration': 'underline' }).appendTo('body'); ```
I'd be very disappointed if this didn't make it into Redux, clean chaining syntax like this is a pretty big deal for myself, and I expect others, who regularly use...
@michaelficarra: OK how about (I can't run the Redux compiler on this system, sorry): ``` setTimeout -> console.log 'Look ma! No brackets!' , 10 ``` Not supporting these syntaxes could...
I seem to recall that when this change was made it was reduced to only cover cases where the same name is used *within* the function (e.g. `(@a) -> a`)?...
I see, we only keep track of assignments in `Scope`, not usage, I guess that makes sense.
Bit of a brain dump incoming 😅 I did some digging into the current status of the public fields proposal. From what I can tell, [this proposal](https://github.com/erights/Orthogonal-Classes) to standardise orthogonal...
It seems some [decisions were made](https://github.com/rwaldron/tc39-notes/blob/master/es8/2017-05/may-25.md#conclusionresolution-10) at the latest es8 meeting - in particular the `own` keyword has been dropped which removes a useful disambiguation for us :disappointed:
I didn't realise that was valid :smile: I don't see any reason not to support it.
This seems a popular concern right now! I asked this question on Discord and the answer for now is this is not possible, unless you generate the query yourself (and...