-
Notifications
You must be signed in to change notification settings - Fork 10
Stage 3 Editor Specification Review #22
Comments
just a few early thoughts:
|
ping @rbuckton there's still a few editorial issues/questions ^ |
Thanks, I'll take a look today. |
I'll have a PR up shortly for these.
I think you are correct. We invoke
I can remove it since it isn't used. |
You can find the PR for this feedback in #31. |
|
How would you word this assert? Essentially, the list contains zero or one elements. If I have an Assert, I still need the If (even if worded differently):
An oversight, I'll add it shortly.
Good catch, thanks. |
Are you describing a note like the one at the top of this section: https://tc39.es/ecma262/#sec-functiondeclarationinstantiation, or a different note entirely? |
I think perhaps you are describing something like this note in FunctionDeclarationInstantiation? As I understand it the rationale behind the extra environment and NOTE in that section has to do with the possibility of parameter initializers performing direct eval that might introduce new bindings. I can add the note, but there are no parameters to a |
@syg - I believe I have addressed your feedback. Please let me know if there's anything I have missed or misunderstood. |
Fair enough, I retract that suggestion.
Where are the changes? I don't see an updated render nor commits. |
Couple last things:
|
Agreed, this is tricky to word correctly. The other option might be to parse with
I plan to look at these today, thanks! |
I agree with this, but when I was reading the spec text I got confused by ClassStaticBlock not being mentioned in IsStatic until I found this discussion. Maybe add a note similar to the one in "Static Semantics: Contains" saying something like "Static semantic rules using this operation do not consider |
I'll defer to @ljharb on whether to reintroduce it with that wording since it was his recommendation to remove it. |
The reason I had it there in the first place is that we go out of our way to indicate |
I was fine with removing it if unused, but mainly i was confused to see IsStatic not be “true” for something named “static”. |
This is a placeholder task for Stage 3 Specification Review feedback from an ECMAScript Editor.
The text was updated successfully, but these errors were encountered: