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

@this delegate reference in lambda bodies

This commit is contained in:
Brian Fiete 2022-02-15 06:34:37 -05:00
parent 9872ce989b
commit e83d9f5bae
2 changed files with 18 additions and 2 deletions

View file

@ -689,7 +689,8 @@ public:
int mCaptureStartAccessId;
// When we need to look into another local method to determine captures, but we don't want to process local variable declarations or cause infinite recursion
bool mBlindCapturing;
bool mDeclaringMethodIsMutating;
bool mDeclaringMethodIsMutating;
bool mCapturedDelegateSelf;
BfReturnTypeInferState mReturnTypeInferState;
BfLocalMethod* mLocalMethod;
BfClosureInstanceInfo* mClosureInstanceInfo;
@ -714,6 +715,7 @@ public:
mCaptureStartAccessId = -1;
mBlindCapturing = false;
mDeclaringMethodIsMutating = false;
mCapturedDelegateSelf = false;
mReturnTypeInferState = BfReturnTypeInferState_None;
mActiveDeferredLocalMethod = NULL;
mReturnType = NULL;