Quasi-literals for templating?

Mike Samuel mikesamuel at gmail.com
Wed Jun 15 18:07:38 PDT 2011


2011/6/15 Gavin Barraclough <barraclough at apple.com>:
> Hi Mike,
>
> I think there may be a bug in the desugaring.  My understanding is that the only arguments to the quasi tag are the call site id & the SVE, and the SVE contains only the substitution values, but in the desugaring example literal portions are being passed to the quasiTag too:
>
>        quasiTag(unguessableId1234, "literalPortion\0 ", x, " literalPortion1"])
>
> I think this should be:
>
>        quasiTag(unguessableId1234, x)

Thanks.  Fixed.


More information about the es-discuss mailing list