mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-03 18:30:54 +01:00
Update Ast/src/Parser.cpp
Co-authored-by: ariel <aweiss@hey.com>
This commit is contained in:
parent
441b5c5986
commit
b03004d51b
1 changed files with 1 additions and 1 deletions
|
@ -1383,7 +1383,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
|
||||||
badIndexer = parseTableIndexer(AstTableAccess::ReadWrite, std::nullopt, lexer.current()).node;
|
badIndexer = 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
|
||||||
badIndexer = parseTableIndexer_DEPRECATED(AstTableAccess::ReadWrite, std::nullopt, lexer.current());
|
badIndexer = parseTableIndexer_DEPRECATED(AstTableAccess::ReadWrite, std::nullopt, lexer.current());
|
||||||
|
|
||||||
// we lose all additional indexer expressions from the AST after error recovery here
|
// we lose all additional indexer expressions from the AST after error recovery here
|
||||||
|
|
Loading…
Add table
Reference in a new issue