archives

« Bugzilla Issues Index

#4189 — 14.1.18 IteratorBindingInitialization: Add assertion or note "originalEnv == environment" ?


14.1.18 Runtime Semantics: IteratorBindingInitialization
FormalParameter : BindingElement
- step 4

I wonder if it makes sense to add an assertion or note that `originalEnv` is the same lexical environment as `environment`. So it's easier for a reader to understand why the outer lexical environment reference of `paramVarEnv` is set to `originalEnv` instead of `environment`.


fixed in rev37 editor's draft


In Rev37