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

Fixed dependency issue with type lookups

This commit is contained in:
Brian Fiete 2020-03-27 06:47:26 -07:00
parent 9a5308b19e
commit 0720b9ad1a
3 changed files with 10 additions and 3 deletions

View file

@ -17673,6 +17673,7 @@ void BfExprEvaluator::PerformBinaryOperation(BfAstNode* leftExpression, BfAstNod
if (resultType->IsNullable())
{
auto elementType = resultType->GetUnderlyingType();
mModule->PopulateType(elementType);
if (elementType->IsValuelessType())
{
mModule->mBfIRBuilder->PopulateType(resultType);