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
758 stars 30 forks source link

`NewModuleEnvironment` AO missing call to `NewDisposeCapability()` #173

Closed rbuckton closed 6 months ago

rbuckton commented 1 year ago

A Module Environment Record inherits from a Declarative Environment Record, and thus has a [[DisposeCapability]] field that should be initialized in NewModuleEnvironment(), but this is currently missing from the proposal specification text.