Explicit resource management added to the language (
f792966)
The spec now includes using and await using declarations, DisposableStack/AsyncDisposableStack, and SuppressedError, along with the new disposal symbols %Symbol.dispose% and %Symbol.asyncDispose%. This is a substantial new language feature for deterministic cleanup and error handling during resource disposal.
Factored out caller-context resumption logic (
45a6671)
An editorial refactor introduced RunCallerContext and replaced repeated execution-context switching steps in generator and async-related algorithms with calls to the new abstract operation. This reduces duplication in the spec text and makes the control-flow behavior easier to maintain.
Other misc changes
- Formatter/lint/esmeta cleanup and ecmarkup signature fixes
- Internal spec text and section ordering adjustments
- Minor wording and algorithm-structure edits