mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed reification on delegate invocations
This commit is contained in:
parent
500a42b054
commit
80d9b11166
2 changed files with 8 additions and 2 deletions
|
@ -8806,7 +8806,7 @@ BfTypedValue BfModule::CreateValueFromExpression(BfExprEvaluator& exprEvaluator,
|
|||
|
||||
if ((!typedVal.mType->IsComposite()) && (!typedVal.mType->IsGenericParam())) // Load non-structs by default
|
||||
{
|
||||
if ((!mBfIRBuilder->mIgnoreWrites) && (!typedVal.mType->IsValuelessType()) && (!typedVal.mType->IsVar()))
|
||||
if ((!mBfIRBuilder->mIgnoreWrites) && (!typedVal.mType->IsDataIncomplete()) && (!typedVal.mType->IsValuelessType()) && (!typedVal.mType->IsVar()))
|
||||
{
|
||||
BF_ASSERT(!typedVal.mValue.IsFake());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue