1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Fixed BfSizedArrayCreateExpression error handling for non-array

This commit is contained in:
Brian Fiete 2025-05-11 15:09:39 +02:00
parent 19820cc44a
commit ad3d90e521

View file

@ -1837,6 +1837,8 @@ BfExpression* BfReducer::CreateExpression(BfAstNode* node, CreateExprFlags creat
else else
{ {
Fail("Sized array type expected", typeRef); Fail("Sized array type expected", typeRef);
AddErrorNode(typeRef);
return NULL;
} }
} }
} }