tc39 / proposal-explicit-resource-management

ECMAScript Explicit Resource Management
https://arai-a.github.io/ecma262-compare/?pr=3000
BSD 3-Clause "New" or "Revised" License
725 stars 29 forks source link

Update DisposableStack.p.adopt to use an Abstract Closure #164

Closed rbuckton closed 3 months ago

rbuckton commented 1 year ago

This updates the algorithm text for DisposableStack.prototype.adopt to align with AsyncDisposableStack.prototype.adopt and the much of the rest of ECMA-262 which now uses an Abstract Closure passed to CreateBuiltinFunction instead of a separate set of steps.

NOTE: This is intended to be purely an editorial change with no normative impact.

github-actions[bot] commented 1 year ago

A preview of this PR can be found at https://tc39.es/proposal-explicit-resource-management/pr/164.

rbuckton commented 1 year ago

cc: @tc39/ecma262-editors

rbuckton commented 3 months ago

@syg, @michaelficarra, @bakkot: Could one of you review, please?