mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Turn CreateValueFromExpression asset into InternalError
This commit is contained in:
parent
659aeefa61
commit
559ac2f39e
2 changed files with 10 additions and 2 deletions
|
@ -8934,6 +8934,7 @@ BfTypedValue BfExprEvaluator::ResolveArgValue(BfResolvedArg& resolvedArg, BfType
|
|||
}
|
||||
|
||||
localVar->mResolvedType = variableType;
|
||||
mModule->PopulateType(variableType);
|
||||
if (!variableType->IsValuelessType())
|
||||
localVar->mAddr = mModule->CreateAlloca(variableType);
|
||||
localVar->mIsReadOnly = isLet;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue