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

Fixed comptime geps with non-ptrsize indices

This commit is contained in:
Brian Fiete 2023-03-14 11:56:59 -07:00
parent 398cb0c7ad
commit dd22fa056f
4 changed files with 445 additions and 278 deletions

View file

@ -21183,6 +21183,8 @@ void BfExprEvaluator::Visit(BfTupleExpression* tupleExpr)
if (isExactConst)
{
mModule->PopulateType(tupleType);
if (tupleType->IsDataIncomplete())
return;
Array<BfIRValue> irValues;
irValues.Resize(typedValues.mSize + 1);