Update Ast/src/Parser.cpp

Co-authored-by: ariel <aweiss@hey.com>
This commit is contained in:
Jack 2025-03-25 16:49:15 -05:00 committed by GitHub
parent b03004d51b
commit 8ea6765338
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -1392,7 +1392,7 @@ AstStat* Parser::parseDeclaration(const Location& start, const AstArray<AstAttr*
else
{
if (FFlag::LuauStoreCSTData)
// the last param in the parseTableIndexer is ignored
// the last param in the parseTableIndexer is ignored since FFlagLuauParseStringIndexer is false here
indexer = parseTableIndexer(AstTableAccess::ReadWrite, std::nullopt, lexer.current()).node;
else
// the last param in the parseTableIndexer is ignored