1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed mixin within block expression

This commit is contained in:
Brian Fiete 2024-07-24 07:03:52 +02:00
parent 2250411276
commit fd3bd861ae

View file

@ -17550,6 +17550,7 @@ void BfExprEvaluator::InjectMixin(BfAstNode* targetSrc, BfTypedValue target, boo
mModule->mBfIRBuilder->SaveDebugLocation();
SetAndRestoreValue<BfMixinState*> prevMixinState(curMethodState->mMixinState, mixinState);
SetAndRestoreValue<BfExprEvaluator*> prevExprEvaluator(curMethodState->mCurScope->mExprEvaluator, NULL);
BfGetSymbolReferenceKind prevSymbolRefKind = BfGetSymbolReferenceKind_None;
if (mModule->mCompiler->mResolvePassData != NULL)