1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Remove invalid assert

This commit is contained in:
Brian Fiete 2024-02-25 16:43:27 -05:00
parent b609ff68b1
commit 9ef776a914

View file

@ -13879,8 +13879,6 @@ BfIRValue BfModule::CastToValue(BfAstNode* srcNode, BfTypedValue typedVal, BfTyp
if (mIsComptimeModule)
return mBfIRBuilder->GetUndefConstValue(mBfIRBuilder->MapType(toType));
BF_ASSERT(mBfIRBuilder->mIgnoreWrites);
auto undefConst = (BfConstantUndef*)constant;
BfType* bfType = NULL;