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:
parent
19820cc44a
commit
ad3d90e521
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue