1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed circular ref data failure in 'using' field

This commit is contained in:
Brian Fiete 2022-07-15 08:37:04 -04:00
parent e28b9c8325
commit 45deac0ba3
2 changed files with 32 additions and 13 deletions

View file

@ -47,6 +47,7 @@ enum BfPopulateType
BfPopulateType_Interfaces_Direct,
BfPopulateType_AllowStaticMethods,
BfPopulateType_Interfaces_All,
BfPopulateType_Data_Soft,
BfPopulateType_Data,
BfPopulateType_DataAndMethods,
BfPopulateType_Full = BfPopulateType_DataAndMethods,
@ -1609,7 +1610,7 @@ public:
BfError* Warn(int warningNum, const StringImpl& warning, BfAstNode* refNode = NULL, bool isPersistent = false, bool showInSpecialized = false);
void CheckErrorAttributes(BfTypeInstance* typeInstance, BfMethodInstance* methodInstance, BfCustomAttributes* customAttributes, BfAstNode* targetSrc);
void CheckRangeError(BfType* type, BfAstNode* refNode);
bool CheckCircularDataError();
bool CheckCircularDataError(bool failTypes = true);
BfFileInstance* GetFileFromNode(BfAstNode* astNode);
//void UpdateSrcPos(BfAstNode* astNode, bool setDebugLoc = true, int debugLocOffset = 0, bool force = false);
void UpdateSrcPos(BfAstNode* astNode, BfSrcPosFlags flags = BfSrcPosFlag_None, int debugLocOffset = 0);