mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added GetFieldReference, ability to explicitly reference in Variant
This commit is contained in:
parent
5cfe9e6196
commit
78dd56d6c5
11 changed files with 279 additions and 54 deletions
|
@ -7190,12 +7190,12 @@ DbgTypedValue DbgExprEvaluator::MatchMethod(BfAstNode* targetSrc, DbgTypedValue
|
|||
}
|
||||
}
|
||||
|
||||
auto castedType = mDbgModule->FindType(typeName, NULL, GetLanguage());
|
||||
auto castedType = mDbgModule->FindType(typeName, NULL, GetLanguage(), true);
|
||||
if (castedType == NULL)
|
||||
{
|
||||
if (typeName.EndsWith('*'))
|
||||
{
|
||||
auto noPtrTypeEntry = mDbgModule->FindType(typeName.Substring(0, typeName.length() - 1), NULL, DbgLanguage_Beef);
|
||||
auto noPtrTypeEntry = mDbgModule->FindType(typeName.Substring(0, typeName.length() - 1), NULL, DbgLanguage_Beef, true);
|
||||
if (noPtrTypeEntry != NULL)
|
||||
castedType = mDbgModule->GetPointerType(noPtrTypeEntry);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue