mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed var*
issue from BfUnaryOp_Dereference expected type
This commit is contained in:
parent
d8be440cb6
commit
bda65a8774
1 changed files with 2 additions and 1 deletions
|
@ -22592,7 +22592,8 @@ void BfExprEvaluator::PerformUnaryOperation(BfExpression* unaryOpExpr, BfUnaryOp
|
|||
{
|
||||
if (mExpectingType->IsRef())
|
||||
mExpectingType = mExpectingType->GetUnderlyingType();
|
||||
mExpectingType = mModule->CreatePointerType(mExpectingType);
|
||||
if (!mExpectingType->IsVar())
|
||||
mExpectingType = mModule->CreatePointerType(mExpectingType);
|
||||
}
|
||||
break;
|
||||
case BfUnaryOp_Negate:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue