mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 07:14:09 +02:00
Fixed mixin issue with indexed argument from readonly pointers
This commit is contained in:
parent
09c909567c
commit
bb937acfa3
1 changed files with 3 additions and 0 deletions
|
@ -22326,6 +22326,9 @@ void BfExprEvaluator::HandleIndexerExpression(BfIndexerExpression* indexerExpr,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// We are no longer accessing data within this type
|
||||||
|
mResultLocalVar = NULL;
|
||||||
|
|
||||||
target = mModule->LoadValue(target);
|
target = mModule->LoadValue(target);
|
||||||
BfPointerType* pointerType = (BfPointerType*)target.mType;
|
BfPointerType* pointerType = (BfPointerType*)target.mType;
|
||||||
auto underlyingType = pointerType->mElementType;
|
auto underlyingType = pointerType->mElementType;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue