Rationalizing ASI (was: simple shorter function syntax)

Mark S. Miller erights at google.com
Sat Jul 24 11:58:00 PDT 2010

On Sat, Jul 24, 2010 at 9:21 AM, Kevin Curtis <kevinc1846 at gmail.com> wrote:

> Also, is anything proposed for rationalizing ASI in Harmony.

I would welcome ideas. I was sad when we gave up on this for ES5/strict. To
get this started, he's one possibility:

Applying the same rules used to recognized the "use strict" directive,
within the scope of a "use strict semicolons" directive, any code that would
have caused ASI is instead rejected as a static error.

Other suggestions welcome. I hate JavaScript's ASI rules.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100724/9266abb5/attachment.html>

More information about the es-discuss mailing list