We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7786bf commit cd756feCopy full SHA for cd756fe
lib/Parser/Parse.cpp
@@ -10063,7 +10063,7 @@ ParseNodePtr Parser::ParseStatement()
10063
}
10064
// #sec-with-statement-static-semantics-early-errors states that the Statement of
10065
// a WithStatement throws a Syntax Error if the Statement is a LabelledFunction.
10066
- else if (m_pstmtCur && m_pstmtCur->pnodeStmt && m_pstmtCur->pnodeStmt->nop == knopWith)
+ else if (m_pstmtCur && m_pstmtCur->pnodeStmt && m_pstmtCur->GetNop() == knopWith)
10067
{
10068
Error(ERRStmtOfWithIsLabelledFunc);
10069
0 commit comments