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

Missing updates to spec adding hint to InitializeBinding #133

Closed davidot closed 1 year ago

davidot commented 1 year ago

While implementing this proposal I hit a couple of spots where InitializeBinding was still being called but which were not mentioned in the current spec text:

Also for example in the json module proposal although that spec is quite outdated and already used in the whatwg spec so not sure what the status is there.

(Note these are just the ones I found through compile failures when adding hint to initialize binding this list might not be complete)

rbuckton commented 1 year ago

These should all already be addressed in https://github.com/tc39/ecma262/pull/3000

See https://arai-a.github.io/ecma262-compare/?pr=3000&id=sec-declarative-environment-records-setmutablebinding-n-v-s

See https://arai-a.github.io/ecma262-compare/?pr=3000&id=sec-initializeboundname

See https://arai-a.github.io/ecma262-compare/?pr=3000&id=sec-web-compat-evaldeclarationinstantiation

See https://arai-a.github.io/ecma262-compare/?pr=3000&id=sec-createglobalvarbinding

rbuckton commented 1 year ago

I've updated the proposal homepage link and the specification link in the TODO section of the explainer to point to https://arai-a.github.io/ecma262-compare/?pr=3000, which will be the authoritative specification text going forward.