1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixed constraint cast check

This commit is contained in:
Brian Fiete 2022-06-27 13:17:28 -07:00
parent f7efa3466a
commit edb77bcf63

View file

@ -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