object literal types
david.hopwood at industrial-designers.co.uk
Tue Feb 17 06:17:43 PST 2009
Michael Haufe wrote:
> David-Sarah Hopwood wrote:
>> "':' (not '=') is used to separate a property name from its value, so it
>> can't also be used for type annotations."
> is what sparked my question. Is there some ambiguity on why this syntax
> reuse would be off the table?
I don't see how the sharp-variables extension is relevant. If anything
it is another reason to avoid '=' in property assignments, so that there
is no conflict between that extension and ES-Harmony types.
David-Sarah Hopwood ⚥
More information about the Es-discuss