@wycats sorry to bother - can you confirm I'm reading your proposal correctly - computed names disallowed?
@ foo [x] = () => true
invalid?
-
-
Wait - sorry. How in the world can you decorate computed props? I thought the whole point here was that's disallowed?
@drewml -
class {
@foo [Symbol.iter]*() { } } -
Oh. Does that mean class { @ foo ['notDynamic'] = 12 } *would* work? So [] allowed, but only for static values?
@drewml -
Not about dynamic/static. `[]` allowed for computed class property name, but not in decorator member expression
-
Just trying to understand how Symbol.iterator is difference from bar in decorator text below
@wycatspic.twitter.com/81rV3x2bcz
End of conversation
New conversation -
-
-
Cool. Just making sure. I assume that was the reason for `DecoratorMemberExpression` and `DecoratorCallExpression`?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
?