Extend pseudo-generics system used by maps to dynarrays
This commit is contained in:
parent
e29011ecde
commit
569263efe9
4 changed files with 121 additions and 87 deletions
|
|
@ -8505,6 +8505,11 @@ FxExpression *FxMemberFunctionCall::Resolve(FCompileContext& ctx)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (PFunction **Override; ctx.Version >= MakeVersion(4, 11, 0) && (Override = static_cast<PDynArray*>(Self->ValueType)->FnOverrides.CheckKey(MethodName)))
|
||||
{
|
||||
afd_override = *Override;
|
||||
}
|
||||
|
||||
auto elementType = static_cast<PDynArray*>(Self->ValueType)->ElementType;
|
||||
Self->ValueType = static_cast<PDynArray*>(Self->ValueType)->BackingType;
|
||||
bool isDynArrayObj = elementType->isObjectPointer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue