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

Allow (.) inferred type cast inside ref and * unary operations

This commit is contained in:
Brian Fiete 2024-12-02 13:53:36 -05:00
parent c555b8b7ef
commit 124d191bab
3 changed files with 34 additions and 6 deletions

View file

@ -139,9 +139,12 @@ void BfDeferEvalChecker::Visit(BfUnaryOperatorExpression* unaryOpExpr)
{
switch (unaryOpExpr->mOp)
{
case BfUnaryOp_Dereference:
case BfUnaryOp_Ref:
case BfUnaryOp_Not:
case BfUnaryOp_Negate:
case BfUnaryOp_Positive:
case BfUnaryOp_InvertBits:
case BfUnaryOp_InvertBits:
VisitChild(unaryOpExpr->mExpression);
break;
// case BfUnaryOp_Params: