mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed missing argument error in mixin
This commit is contained in:
parent
1c7087ddd9
commit
156e3dd2fa
1 changed files with 2 additions and 0 deletions
|
@ -14298,6 +14298,8 @@ void BfExprEvaluator::InjectMixin(BfAstNode* targetSrc, BfTypedValue target, boo
|
|||
}
|
||||
else if (argExpr != NULL)
|
||||
exprEvaluator->Evaluate(argExpr, false, false, true);
|
||||
else
|
||||
mModule->Fail("Missing argument", targetSrc);
|
||||
auto argValue = exprEvaluator->mResult;
|
||||
mModule->FixIntUnknown(argValue);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue