mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed alloctype(T) where T : var field lookups
This commit is contained in:
parent
1a4f0b1b4a
commit
f10365c1ad
1 changed files with 8 additions and 2 deletions
|
@ -11282,6 +11282,12 @@ void BfExprEvaluator::LookupQualifiedName(BfQualifiedNameNode* nameNode, bool ig
|
|||
else
|
||||
mResult.mKind = BfTypedValueKind_Addr;
|
||||
}
|
||||
else if (mResult.mType->IsAllocType())
|
||||
{
|
||||
BF_ASSERT(mResult.mValue.IsFake());
|
||||
mResult.mType = mResult.mType->GetUnderlyingType();
|
||||
}
|
||||
|
||||
mIsVolatileReference = false;
|
||||
mIsHeapReference = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue