On Nov 11, 2011, at 2:51 PM, Mike Samuel wrote: > If statements as expressions goes forward, we should look into > tweaking completion values. > > IMHO, a code maintainer who sees > > resource = ..., foo(resource) > > would expect to be able to wrap the use of resource in a try finally thus > > resource = ..., (try { foo(resource) } finally { release(resource) }) > > without changing the completion value of the expression.
Good catch! (no pun intended) I'll add this to http://wiki.ecmascript.org/doku.php?id=harmony:completion_reform Thanks, Dave _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss