1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +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) if (castedResult)
return castedResult; return castedResult;
} }
if (result) else if (result)
return result.mValue; return result.mValue;
} }
else else