<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [JSC] support Computed Property Names in destructuring Patterns"
href="https://bugs.webkit.org/show_bug.cgi?id=151494#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [JSC] support Computed Property Names in destructuring Patterns"
href="https://bugs.webkit.org/show_bug.cgi?id=151494">bug 151494</a>
from <span class="vcard"><a class="email" href="mailto:caitp@igalia.com" title="Caitlin Potter (:caitp) <caitp@igalia.com>"> <span class="fn">Caitlin Potter (:caitp)</span></a>
</span></b>
<pre><span class="quote">> So this kind of expression is only allowed using the new feature you added recently that assigns to the rhs of the colon?</span >
It was already possible to assign to the rhs of the colon, the consumeOrFail and other code duplication is here to keep it a bit more straight forward (instead of conditionally deciding how to behave depending on whether propertyExpression is null or not, further down). I don't have a strong opinion on it if people don't like the code duplication in the name of straightforwardness.
---
Adding some other tests</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>