On Tue, Dec 28, 2010 at 8:06 AM, David Herman <[email protected]> wrote:
> We would probably make it a contextual keyword so you could still use it in > non-expression contexts (e.g., to the right of '.' and left of ':' in object > literals), but unless we played some clever tricks, which I'm not sure would > be worth it, using it as an identifier would be a syntax error. Harmony will > be opt-in, though, so this won't cause existing code to break unless the > author explicitly changes the language; at which point they would get an > early error and have the opportunity to rename the identifiers. > Nit: All identifiers including all keywords can already be used after a '.' or before a ':' in object literals. > > Dave > > On Dec 28, 2010, at 7:34 AM, Kevin Smith wrote: > > > In the modules strawman, "module" is a keyword, right? Will code that > uses "module" as an identifier most likely cause a syntax error? > > > > Thanks! > > _______________________________________________ > > es-discuss mailing list > > [email protected] > > https://mail.mozilla.org/listinfo/es-discuss > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > -- Cheers, --MarkM
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

