mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-03 02:10:53 +01:00
Update Ast/src/Parser.cpp
Co-authored-by: ariel <aweiss@hey.com>
This commit is contained in:
parent
8ea6765338
commit
c055407cba
1 changed files with 1 additions and 1 deletions
|
@ -1395,7 +1395,7 @@ AstStat* Parser::parseDeclaration(const Location& start, const AstArray<AstAttr*
|
||||||
// the last param in the parseTableIndexer is ignored since FFlagLuauParseStringIndexer is false here
|
// the last param in the parseTableIndexer is ignored since FFlagLuauParseStringIndexer is false here
|
||||||
indexer = parseTableIndexer(AstTableAccess::ReadWrite, std::nullopt, lexer.current()).node;
|
indexer = parseTableIndexer(AstTableAccess::ReadWrite, std::nullopt, lexer.current()).node;
|
||||||
else
|
else
|
||||||
// the last param in the parseTableIndexer is ignored
|
// the last param in the parseTableIndexer is ignored since FFlagLuauParseStringIndexer is false here
|
||||||
indexer = parseTableIndexer_DEPRECATED(AstTableAccess::ReadWrite, std::nullopt, lexer.current());
|
indexer = parseTableIndexer_DEPRECATED(AstTableAccess::ReadWrite, std::nullopt, lexer.current());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue