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:
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)
|
if (castedResult)
|
||||||
return castedResult;
|
return castedResult;
|
||||||
}
|
}
|
||||||
if (result)
|
else if (result)
|
||||||
return result.mValue;
|
return result.mValue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue