Quasis: assignable substitutions?

Mike Samuel mikesamuel at gmail.com
Fri Jun 17 13:50:21 PDT 2011


2011/6/17 Mark S. Miller <erights at google.com>:
> A failed strict assignment throws, and therefore a failed ES-next assignment
> does. So are you sure it does not currently throw? From your expansion, I'd
> expect it does.

The SVE of ${x} in the slot expansion variant is

    function() { return x; }

which silently fails to assign to x when passed a value.


More information about the es-discuss mailing list