mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Name comparison fix
This commit is contained in:
parent
3da1881c9b
commit
4592044436
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ BfMethodDef* BfTypeDef::GetMethodByName(const StringImpl& name, int paramCount)
|
|||
auto methodDef = (BfMethodDef*)entry->mMemberDef;
|
||||
while (methodDef != NULL)
|
||||
{
|
||||
if ((name == methodDef->mName) && ((paramCount == -1) || (paramCount == (int)methodDef->mParams.size())))
|
||||
if (((paramCount == -1) || (paramCount == (int)methodDef->mParams.size())))
|
||||
{
|
||||
if ((bestMethodDef == NULL) ||
|
||||
((bestMethodDef->mDeclaringType->IsExtension()) && (!methodDef->mDeclaringType->IsExtension())))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue