archives

« Bugzilla Issues Index

#4092 — LexicallyDeclaredNames for non empty block is not defined


In [13.1.5 Static Semantics: LexicallyDeclaredNames], the following production:

Block : { StatementList }

is not listed.

We should add:



Block : { StatementList }

Return the LexicallyDeclaredNames of StatementList.



to the spec.


Read the section 5.2 Algorithm Conventions. This case is in fact covered by chain production's implicit definition rule. Thus close the issue.