Ron Buckton
Ron Buckton
> Some questions came up around the motivation, in particular the current wording: > > "ECMAScript currently has no mechanism for executing user-defined logic during destructuring" > > From reading...
How does this sound: > ECMAScript currently has no mechanism for executing user-defined logic _**as part of**_ destructuring, which means that operations related to data validation and transformation may require...
> So why are we introducing a more complicated way of doing a thing that's already possible? Is there something that extractors make possible that isn't currently possible? Extractors extend...
The "approximate" wording was applicable back when we were using `AggregateError` as there were slight semantic differences to the two declarations. Now that we are using an independent `SuppressedError` that...
I can add these to the proposal spec, though the intent was to emulate the exact same behavior we specify for every other built-in symbol on `Symbol`.
@syg, @michaelficarra, @bakkot do you have thoughts on this? Is it worth leaving the cover in?
We do something similar to this in the spec already in that [_CoverCallExpressionAndAsyncArrowHead_](https://tc39.es/ecma262/#prod-CoverCallExpressionAndAsyncArrowHead) is identical to [_CallMemberExpression_](https://tc39.es/ecma262/#prod-CallMemberExpression). IIRC, the only places where we use a production as both the actual...
I discussed this in another issue, so I'll post the [relevant comment](https://github.com/tc39/proposal-explicit-resource-management/issues/74#issuecomment-958539070) here as well: > > > Static languages like TypeScript would need to be able to interpret error...
The following was originally posted by @nicolashenry in https://github.com/tc39/proposal-explicit-resource-management/issues/74#issuecomment-1249536441 > I want to share a use case about error management. I am thinking about using it in the context of...
This was also discussed in #159, so I will summarize my thoughts from that issue here. There are three different mechanisms we can consider for resource management, though they are...