Skip to content

Commit 98bc181

Browse files
committed
Bump Luau to 0.679
1 parent 7c89c42 commit 98bc181

File tree

16 files changed

+480
-1735
lines changed

16 files changed

+480
-1735
lines changed

luau/Ast/include/Luau/Ast.h

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -451,24 +451,6 @@ class AstExprFunction : public AstExpr
451451
const std::optional<Location>& argLocation = std::nullopt
452452
);
453453

454-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
455-
AstExprFunction(
456-
const Location& location,
457-
const AstArray<AstAttr*>& attributes,
458-
const AstArray<AstGenericType*>& generics,
459-
const AstArray<AstGenericTypePack*>& genericPacks,
460-
AstLocal* self,
461-
const AstArray<AstLocal*>& args,
462-
bool vararg,
463-
const Location& varargLocation,
464-
AstStatBlock* body,
465-
size_t functionDepth,
466-
const AstName& debugname,
467-
const std::optional<AstTypeList>& returnAnnotation,
468-
AstTypePack* varargAnnotation = nullptr,
469-
const std::optional<Location>& argLocation = std::nullopt
470-
);
471-
472454
void visit(AstVisitor* visitor) override;
473455

474456
bool hasNativeAttribute() const;
@@ -479,8 +461,6 @@ class AstExprFunction : public AstExpr
479461
AstArray<AstGenericTypePack*> genericPacks;
480462
AstLocal* self;
481463
AstArray<AstLocal*> args;
482-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
483-
std::optional<AstTypeList> returnAnnotation_DEPRECATED;
484464
AstTypePack* returnAnnotation = nullptr;
485465
bool vararg = false;
486466
Location varargLocation;
@@ -949,7 +929,6 @@ class AstStatDeclareFunction : public AstStat
949929
public:
950930
LUAU_RTTI(AstStatDeclareFunction)
951931

952-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
953932
AstStatDeclareFunction(
954933
const Location& location,
955934
const AstName& name,
@@ -963,7 +942,6 @@ class AstStatDeclareFunction : public AstStat
963942
AstTypePack* retTypes
964943
);
965944

966-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
967945
AstStatDeclareFunction(
968946
const Location& location,
969947
const AstArray<AstAttr*>& attributes,
@@ -978,36 +956,6 @@ class AstStatDeclareFunction : public AstStat
978956
AstTypePack* retTypes
979957
);
980958

981-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
982-
AstStatDeclareFunction(
983-
const Location& location,
984-
const AstName& name,
985-
const Location& nameLocation,
986-
const AstArray<AstGenericType*>& generics,
987-
const AstArray<AstGenericTypePack*>& genericPacks,
988-
const AstTypeList& params,
989-
const AstArray<AstArgumentName>& paramNames,
990-
bool vararg,
991-
const Location& varargLocation,
992-
const AstTypeList& retTypes
993-
);
994-
995-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
996-
AstStatDeclareFunction(
997-
const Location& location,
998-
const AstArray<AstAttr*>& attributes,
999-
const AstName& name,
1000-
const Location& nameLocation,
1001-
const AstArray<AstGenericType*>& generics,
1002-
const AstArray<AstGenericTypePack*>& genericPacks,
1003-
const AstTypeList& params,
1004-
const AstArray<AstArgumentName>& paramNames,
1005-
bool vararg,
1006-
const Location& varargLocation,
1007-
const AstTypeList& retTypes
1008-
);
1009-
1010-
1011959
void visit(AstVisitor* visitor) override;
1012960

1013961
bool isCheckedFunction() const;
@@ -1023,8 +971,6 @@ class AstStatDeclareFunction : public AstStat
1023971
bool vararg = false;
1024972
Location varargLocation;
1025973
AstTypePack* retTypes;
1026-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
1027-
AstTypeList retTypes_DEPRECATED;
1028974
};
1029975

1030976
struct AstDeclaredExternTypeProperty
@@ -1167,27 +1113,6 @@ class AstTypeFunction : public AstType
11671113
AstTypePack* returnTypes
11681114
);
11691115

1170-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
1171-
AstTypeFunction(
1172-
const Location& location,
1173-
const AstArray<AstGenericType*>& generics,
1174-
const AstArray<AstGenericTypePack*>& genericPacks,
1175-
const AstTypeList& argTypes,
1176-
const AstArray<std::optional<AstArgumentName>>& argNames,
1177-
const AstTypeList& returnTypes
1178-
);
1179-
1180-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
1181-
AstTypeFunction(
1182-
const Location& location,
1183-
const AstArray<AstAttr*>& attributes,
1184-
const AstArray<AstGenericType*>& generics,
1185-
const AstArray<AstGenericTypePack*>& genericPacks,
1186-
const AstTypeList& argTypes,
1187-
const AstArray<std::optional<AstArgumentName>>& argNames,
1188-
const AstTypeList& returnTypes
1189-
);
1190-
11911116
void visit(AstVisitor* visitor) override;
11921117

11931118
bool isCheckedFunction() const;
@@ -1198,8 +1123,6 @@ class AstTypeFunction : public AstType
11981123
AstArray<AstGenericTypePack*> genericPacks;
11991124
AstTypeList argTypes;
12001125
AstArray<std::optional<AstArgumentName>> argNames;
1201-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
1202-
AstTypeList returnTypes_DEPRECATED;
12031126
AstTypePack* returnTypes;
12041127
};
12051128

luau/Ast/include/Luau/ParseResult.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class CstNode;
1515
class ParseError : public std::exception
1616
{
1717
public:
18-
ParseError(const Location& location, const std::string& message);
18+
ParseError(const Location& location, std::string message);
1919

2020
virtual const char* what() const throw();
2121

luau/Ast/include/Luau/Parser.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,6 @@ class Parser
183183
const Name* localName,
184184
const AstArray<AstAttr*>& attributes
185185
);
186-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
187-
std::pair<AstExprFunction*, AstLocal*> parseFunctionBody_DEPRECATED(
188-
bool hasself,
189-
const Lexeme& matchFunction,
190-
const AstName& debugname,
191-
const Name* localName,
192-
const AstArray<AstAttr*>& attributes
193-
);
194186

195187
// explist ::= {exp `,'} exp
196188
void parseExprList(TempVector<AstExpr*>& result, TempVector<Position>* commaPositions = nullptr);
@@ -233,10 +225,6 @@ class Parser
233225
AstTypePack* parseOptionalReturnType(Position* returnSpecifierPosition = nullptr);
234226
AstTypePack* parseReturnType();
235227

236-
// Clip with FFlagLuauStoreReturnTypesAsPackOnAst
237-
std::optional<AstTypeList> parseOptionalReturnType_DEPRECATED(Position* returnSpecifierPosition = nullptr);
238-
std::pair<Location, AstTypeList> parseReturnType_DEPRECATED();
239-
240228
struct TableIndexerResult
241229
{
242230
AstTableIndexer* node;
@@ -246,8 +234,6 @@ class Parser
246234
};
247235

248236
TableIndexerResult parseTableIndexer(AstTableAccess access, std::optional<Location> accessLocation, Lexeme begin);
249-
// Remove with FFlagLuauStoreCSTData2
250-
AstTableIndexer* parseTableIndexer_DEPRECATED(AstTableAccess access, std::optional<Location> accessLocation, Lexeme begin);
251237

252238
AstTypeOrPack parseFunctionType(bool allowPack, const AstArray<AstAttr*>& attributes);
253239
AstType* parseFunctionTypeTail(

0 commit comments

Comments
 (0)