mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Comptime debugging
This commit is contained in:
parent
bbb97d1490
commit
ff2e40e3bf
40 changed files with 6213 additions and 443 deletions
|
@ -3523,7 +3523,7 @@ void BfModule::VisitCodeBlock(BfBlock* block)
|
|||
mCurMethodState->mMixinState->mResultExpr = expr;
|
||||
break;
|
||||
}
|
||||
else if ((mCurMethodInstance->IsMixin()) && (mCurMethodState->mCurScope == &mCurMethodState->mHeadScope))
|
||||
else if ((mCurMethodInstance != NULL) && (mCurMethodInstance->IsMixin()) && (mCurMethodState->mCurScope == &mCurMethodState->mHeadScope))
|
||||
{
|
||||
// Only in mixin definition - result ignored
|
||||
CreateValueFromExpression(expr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue