New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in Script Evaluation? #587

Closed
GeorgNeis opened this Issue Jun 2, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@GeorgNeis
Contributor

GeorgNeis commented Jun 2, 2016

In 15.1.10 (https://tc39.github.io/ecma262/#sec-runtime-semantics-scriptevaluation),
the identifier ScriptBody comes out of nowhere. I suppose it should be replaced with scriptRecord.[[ECMAScriptCode]].

@jmdyck

This comment has been minimized.

Show comment
Hide comment
@jmdyck

jmdyck Jun 2, 2016

Collaborator

ScriptEvaluation used to be a syntax-discriminated operation, whose only definition was attached to the production Script : ScriptBody?, so the reference to |ScriptBody| was well-defined. It looks like it became a dangling reference when ScriptEvaluation became an abstract operation (in 698819c).

Collaborator

jmdyck commented Jun 2, 2016

ScriptEvaluation used to be a syntax-discriminated operation, whose only definition was attached to the production Script : ScriptBody?, so the reference to |ScriptBody| was well-defined. It looks like it became a dangling reference when ScriptEvaluation became an abstract operation (in 698819c).

bterlson added a commit that referenced this issue Aug 12, 2016

Editorial: Fix reference in ScriptEvaluation (#659)
Fixes dangling reference to ScriptBody. Resolves #587.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment