We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
eval?.()
eval
1 parent 8c4eddf commit f48dc1bCopy full SHA for f48dc1b
lib/Parser/Parse.cpp
@@ -4001,7 +4001,7 @@ ParseNodePtr Parser::ParsePostfixOperators(
4001
// Note: we used to leave it up to the byte code generator to detect eval calls
4002
// at global scope, but now it relies on the flag the parser sets, so set it here.
4003
4004
- if (count > 0 && this->NodeIsEvalName(pnode->AsParseNodeCall()->pnodeTarget))
+ if (count > 0 && this->NodeIsEvalName(pnode->AsParseNodeCall()->pnodeTarget) && !isNullPropagating)
4005
{
4006
this->MarkEvalCaller();
4007
fCallIsEval = true;
0 commit comments