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

Note on usage of the name NewTarget #177

Closed
yasushikuno opened this Issue Nov 15, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@yasushikuno

yasushikuno commented Nov 15, 2015

[JP22] 15.2.2.1 Bullet 6 says "It is a Syntax Error if MouduleItemList Contains NewTarget" and I was first puzzled on what this "NewTarget" means. Isn't it more kind to just use "new . target" (in typeface)? The problem stems from the fact that identifier "NewTarget" is used in multiple ways throughout the document, and it might be difficult to resolve. However, I guess the above change will resolve the problem here. (I also noticed that a period is missing at the end of the sentence.)

@rwaldron

This comment has been minimized.

Show comment
Hide comment
@rwaldron

rwaldron Nov 15, 2015

Contributor

I think you're looking at an outdated version of the specification? The section you're referring to is 15.2.1.1. NewTarget (italics) in the context of static semantics, can only ever refer to the grammar:

NewTarget :
new . target

Contributor

rwaldron commented Nov 15, 2015

I think you're looking at an outdated version of the specification? The section you're referring to is 15.2.1.1. NewTarget (italics) in the context of static semantics, can only ever refer to the grammar:

NewTarget :
new . target

@yasushikuno

This comment has been minimized.

Show comment
Hide comment
@yasushikuno

yasushikuno Nov 15, 2015

[JP22] Thank you for reply. I will look for current version.

yasushikuno commented Nov 15, 2015

[JP22] Thank you for reply. I will look for current version.

@bterlson

This comment has been minimized.

Show comment
Hide comment
@bterlson

bterlson Nov 19, 2015

Member

Italics (emu-nt in the source text) refers to a particular non-terminal of the grammar.

(By the way, I think you can just prefix your title with JP22 rather than each comment :))

Member

bterlson commented Nov 19, 2015

Italics (emu-nt in the source text) refers to a particular non-terminal of the grammar.

(By the way, I think you can just prefix your title with JP22 rather than each comment :))

@bterlson bterlson closed this Nov 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment