On Thu, Dec 6, 2012 at 1:46 PM, Brendan Eich <bren...@mozilla.org> wrote:
> David Herman wrote: > >> > Cool, definitely want the plain identifier form, it's part of the >>> binding (and destructuring) pattern language. >>> >> >> Well, the thing is it isn't consistent with the destructuring meaning: >> dropping the curlies here means extracting a single export (aka property), >> which is not what it means in destructuring assignment/binding anywhere >> else. >> > > You are so right. Therefore I think Yehuda et al. (as Andreas affirmed) > are spot-on in advocating > > import foo from "foo"; // import the singleton export = thing from "foo" > import {bar} from "foo"; // import the bar export from "foo" > > and we don't have a RTL problem. +1 For some reason I thought this is actually how it was working at some point, but I haven't been following as closely as I should. > > > /be > > ______________________________**_________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss> >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss