archives

« Bugzilla Issues Index

#2744 — 13.2.3.6: missing argument to IteratorBindingInitialization


In 13.2.3.6 "Runtime Semantics: IteratorBindingInitialization",
group 10 / step 1 and group 11 / step 3 both say:
Return the result of performing IteratorBindingInitialization
of /BindingElement/ with /iterator/ as the argument.

This is missing an argument for IteratorBindingInitialization's "environment" parameter. Change:
with /iterator/ as the argument
to:
with /iterator/ and /environment/ as arguments
?


In the same section, group 14 / step 7 says:
Return the result of performing BindingInitialization
of /BindingPattern/ with /v/ as the argument.

This is missing an argument for BindingInitialization's "environment" parameter. Change:
with /v/ as the argument
to:
with /v/ and /environment/ as arguments
?


fixed in rev25 editor's draft


confirmed fixed.