Kevin Gibbons

Results 910 comments of Kevin Gibbons

You may be interested in the [shared structs](https://github.com/tc39/proposal-structs?tab=readme-ov-file#shared-structs) proposal, though even if it does eventually solve your problem it will not do so in the near term.

For the `` tags, I think it makes more sense to consistently put the tags around the whole expression, since the effects arise from the whole expression not just the...

I'm open to hearing your case for that, but I don't think that's true. Why do you believe that to be so?

cf https://github.com/tc39/proposal-faster-promise-adoption/issues/1 where this originally came up (as a fast path for a slightly different case, but I think it could probably safely be done for `PromiseResolve` as well). As...

> While I appreciate removing a potential user observable lookup, this is only the case for `PromiseResolve` calls where `C` is `%Promise%`, and `IsPromise(x)` is true. I'm not sure it's...

> Could you please clarify what is unusual about having a specialized constructor creating base instances? Some things which are unusual about that snippet: - subclassing Promise at all, especially...

@guybedford by "catch the ambiguous case here" do you mean that the first example in https://github.com/tc39/ecma262/issues/3710#issuecomment-3443845451 should be made to throw, or that the spec should handle this case such...

Tried [a PR](https://github.com/tc39/ecma262/pull/3715) and [put it on the agenda](https://github.com/tc39/agendas/pull/2000) as either me or Nicolò presenting. @nicolo-ribaudo I expect I can manage presenting this if you can't make it or don't...

Discussed briefly in editor call. We agree it makes the most sense to stop using "otherwise" entirely (in either single or multi-line form).

Since this is just making an error into a non-error I think that's good enough, no need to wait for them to ship.