@@ -148,13 +148,14 @@ <h1>Updated Syntactic Grammar Productions</h1>
148148 ` ?.` IdentifierName
149149 ` ?.` Arguments [? Yield , ? Await ]
150150 ` ?.` TemplateLiteral [? Yield , ? Await , + Tagged ]
151- <ins> ` ?.` PrivateIdentifier </ins>
152151 OptionalChain [? Yield , ? Await ] ` [` Expression [+ In , ? Yield , ? Await ] ` ]`
153152 OptionalChain [? Yield , ? Await ] ` .` IdentifierName
154153 OptionalChain [? Yield , ? Await ] Arguments [? Yield , ? Await ]
155154 OptionalChain [? Yield , ? Await ] TemplateLiteral [? Yield , ? Await , + Tagged ]
156155 <ins> OptionalChain [? Yield , ? Await ] ` .` PrivateIdentifier </ins>
157156 </emu-grammar >
157+
158+ <emu-note >`?.` PrivateIdentifier is currently a unstated Syntax Error</emu-note >
158159 </emu-clause >
159160
160161 <emu-clause id =" sec-static-semantics-early-errors" >
@@ -219,12 +220,6 @@ <h1>Static Semantics: Early Errors</h1>
219220 <li >It is a Syntax Error if AllPrivateIdentifiersValid of | ModuleItemList | with an empty List as an argument is *false* .</li >
220221 </ul >
221222 <emu-note type =editor >References to | PrivateIdentifier | s which are not lexically present cause an early error.</emu-note >
222-
223- <emu-grammar >OptionalChain : ` ?.` PrivateIdentifier </emu-grammar >
224- <ul >
225- <li >It is a Syntax Error if any code matches this production.</li >
226- </ul >
227- <emu-note >This production exists to explicitly reserve the syntax for future proposals.</emu-note >
228223 </emu-clause >
229224
230225 <emu-clause id =" sec-all-private-identifiers-valid" aoid =" AllPrivateIdentifiersValid" oldids =" sec-all-private-names-valid" >
0 commit comments