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

Fix missing text from async spec #163

Closed rbuckton closed 1 year ago

rbuckton commented 1 year ago

This amends the AddDisposableResource and CreateDisposableResource AOs with text from the Async Explicit Resource Management proposal that was missed in #154.

These were changes that were made to satisfy the constraint that an await using that is evaluated forces an implicit await at the end of the block, even if the initializers were null or undefined.

github-actions[bot] commented 1 year ago

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

rbuckton commented 1 year ago

cc: @tc39/ecma262-editors