19 Sep
2020
19 Sep
'20
12:01 a.m.
On Sat, Sep 19, 2020 at 8:59 AM Dennis Sweeney
I think it would be easiest to reason about if an Exception is always raised when not everything is assigned to. Just like the behavior of other unpacking assignment, either everything is assigned or there's an error. My apologies if that wasn't clear from the examples.
The trouble with that is that it's really hard to use that if you want partial assignment. On the other hand, if the language provides partial assignment and you want full assignment or exception, you can add a marker at the end and validate it that way. But whichever way it's done, the proposal needs to be very clear about it. ChrisA