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:
parent
2250411276
commit
fd3bd861ae
1 changed files with 1 additions and 0 deletions
|
@ -17550,6 +17550,7 @@ void BfExprEvaluator::InjectMixin(BfAstNode* targetSrc, BfTypedValue target, boo
|
||||||
|
|
||||||
mModule->mBfIRBuilder->SaveDebugLocation();
|
mModule->mBfIRBuilder->SaveDebugLocation();
|
||||||
SetAndRestoreValue<BfMixinState*> prevMixinState(curMethodState->mMixinState, mixinState);
|
SetAndRestoreValue<BfMixinState*> prevMixinState(curMethodState->mMixinState, mixinState);
|
||||||
|
SetAndRestoreValue<BfExprEvaluator*> prevExprEvaluator(curMethodState->mCurScope->mExprEvaluator, NULL);
|
||||||
|
|
||||||
BfGetSymbolReferenceKind prevSymbolRefKind = BfGetSymbolReferenceKind_None;
|
BfGetSymbolReferenceKind prevSymbolRefKind = BfGetSymbolReferenceKind_None;
|
||||||
if (mModule->mCompiler->mResolvePassData != NULL)
|
if (mModule->mCompiler->mResolvePassData != NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue