« Bugzilla Issues Index

#255 — 11.2.3: "eval code that is also global code"

In 11.2.3 "The 'super' Keyword",
under "Static Semantics: Early Errors",
there are two occurrences of:
It is a SyntaxError if the source code parsed with this production
is eval code that is also global code ...

The phrase "that is also global code" seems to be redundant, given that 10.1 says:
The eval code for a particular invocation of eval
is the global code portion of that Program.
I.e., all eval code is global code.

corrected in editor's draft.

Of course, since I forgot that fact I'm guessing that other readers may also miss but subtlety

fixed in rev10, Sept. 27 2012 draft