mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-01 17:30:53 +01:00
Update Ast/src/Parser.cpp
Co-authored-by: ariel <aweiss@hey.com>
This commit is contained in:
parent
229a91e8a3
commit
441b5c5986
1 changed files with 1 additions and 1 deletions
|
@ -1380,7 +1380,7 @@ AstStat* Parser::parseDeclaration(const Location& start, const AstArray<AstAttr*
|
|||
// however, we either have { or [ to lint, not the entire table type or the bad indexer.
|
||||
AstTableIndexer* badIndexer;
|
||||
if (FFlag::LuauStoreCSTData)
|
||||
// the last param in the parseTableIndexer is ignored
|
||||
// the last param in the parseTableIndexer is ignored since FFlagLuauParseStringIndexer is false here
|
||||
badIndexer = parseTableIndexer(AstTableAccess::ReadWrite, std::nullopt, lexer.current()).node;
|
||||
else
|
||||
// the last param in the parseTableIndexer is ignored
|
||||
|
|
Loading…
Add table
Reference in a new issue