>
> Would we?  This is something a little different than "irrefutable property
> get".  Thinking...
>
>
Notice that, strictly speaking, we don't need an "irrefutable object"
operation:

    let v = ?o.p;

    // is equivalent to:
    let v = {o}.?o.p;

The allocation in "{o}" can be statically optimized away.

The same goes for the pattern language:

    let ?{ p: v } = o;

    // is equivalent to:
    let { ?o: { p: v } } = {o};

{ Kevin }
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to