The difference is the uncommon delimiter of the argument lists. If the template literal must be surrounded by a pair of parentheses it will become more visually significant. Since it's not, I think not allowing the line terminator is reasonable.
On Sat, Feb 14, 2015 at 1:41 PM, Shinji Ikari <[email protected]> wrote: > Ah yes! I will resend. > > On Fri, Feb 13, 2015 at 20:54 Kevin Smith <[email protected]> wrote: > >> Hey there! Did you mean to reply to the list? >> >> On Fri, Feb 13, 2015 at 11:53 PM, Shinji Ikari <[email protected]> >> wrote: >> >>> The difference is the uncommon delimiter of the argument lists. If the >>> template literal must be surrounded by a pair of parentheses it will become >>> more visually significant. Since it's not, I think not allowing the line >>> terminator is reasonable. >>> >>> On Fri, Feb 13, 2015 at 20:29 Kevin Smith <[email protected]> wrote: >>> >>>> >>>>> I propose we add a [No LineTerminator here] between CallExpression/ >>>>> MemberExpression and TemplateLiteral. >>>>> >>>> >>>> This would be inconsistent, since there are no such restrictions >>>> between member expression or call expression components otherwise. For >>>> example, in: >>>> >>>> foo >>>> (bar) >>>> >>>> and >>>> >>>> foo >>>> [bar] >>>> >>>> there is no semicolon insertion. >>>> >>>> >>
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

