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

Fixed 'defer a->b()`

This commit is contained in:
Brian Fiete 2023-12-31 09:41:36 -05:00
parent 73265d82dd
commit 633425f902

View file

@ -22301,6 +22301,7 @@ BfTypedValue BfExprEvaluator::PerformUnaryOperation_TryOperator(const BfTypedVal
else
{
SetAndRestoreValue<BfEvalExprFlags> prevFlags(mBfEvalExprFlags, (BfEvalExprFlags)(mBfEvalExprFlags | BfEvalExprFlags_NoAutoComplete));
SetAndRestoreValue<BfAstNode*> prevDeferCallRef(mDeferCallRef, NULL);
result = CreateCall(&methodMatcher, callTarget);
}