mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed constraint cast check
This commit is contained in:
parent
f7efa3466a
commit
edb77bcf63
1 changed files with 1 additions and 1 deletions
|
@ -13911,7 +13911,7 @@ BfIRValue BfModule::CastToValue(BfAstNode* srcNode, BfTypedValue typedVal, BfTyp
|
|||
if (castedResult)
|
||||
return castedResult;
|
||||
}
|
||||
if (result)
|
||||
else if (result)
|
||||
return result.mValue;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue