We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 653db92 + cd756fe commit 2dd8241Copy full SHA for 2dd8241
lib/Parser/Parse.cpp
@@ -10068,7 +10068,7 @@ ParseNodePtr Parser::ParseStatement()
10068
}
10069
// #sec-with-statement-static-semantics-early-errors states that the Statement of
10070
// a WithStatement throws a Syntax Error if the Statement is a LabelledFunction.
10071
- else if (m_pstmtCur && m_pstmtCur->pnodeStmt && m_pstmtCur->pnodeStmt->nop == knopWith)
+ else if (m_pstmtCur && m_pstmtCur->pnodeStmt && m_pstmtCur->GetNop() == knopWith)
10072
{
10073
Error(ERRStmtOfWithIsLabelledFunc);
10074
0 commit comments