On Jun 14, 2008, at 12:21 PM, Mark S. Miller wrote: > On Fri, Jun 13, 2008 at 2:44 PM, Mark Miller <[EMAIL PROTECTED]> > wrote: >> On Fri, Jun 13, 2008 at 11:20 AM, Lars Hansen <[EMAIL PROTECTED]> >> wrote: >>>> What >>>> other "with" do people imagine is compatible with strict >>>> mode? I must have missed something. >>> >>> The one in ES3. What makes it not compatible with strict mode? >> >> Doesn't it make static scope analysis impossible? > > Deleting a variable also makes static scope analysis impossible. > (Deleting a property is fine.)
Deleting a variable is only possible for variables introduced by eval, and I gather eval will not be able to inject bindings into local scope in strict mode. > Once try/catch is fixed, I can't think of anything else that prevents > static scope analysis of ES3.1 strict or ES4 strict. Does anyone know > of any other cases? Named function expressions have the same kind of problem as try/catch (assuming the problem is a random non-activation object being on the scope chain). Regards, Maciej _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss