mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed debug viewing of boxed types
This commit is contained in:
parent
da7015e82d
commit
17fbd8f8d6
1 changed files with 3 additions and 0 deletions
|
@ -1756,6 +1756,9 @@ DbgTypedValue DbgExprEvaluator::Cast(BfAstNode* srcNode, const DbgTypedValue& ty
|
|||
fromType = fromType->GetPrimaryType();
|
||||
toType = toType->GetPrimaryType();
|
||||
|
||||
if ((toType->IsBfObject()) && (fromType->IsPointer()))
|
||||
toType = toType->GetDbgModule()->GetPointerType(toType);
|
||||
|
||||
if (toType->IsPrimitiveType())
|
||||
{
|
||||
if (fromType->mTypeCode == toType->mTypeCode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue