mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed method selection bug with 'params' methods
This commit is contained in:
parent
4a00830adf
commit
585db3b579
1 changed files with 1 additions and 1 deletions
|
@ -1706,7 +1706,7 @@ bool BfMethodMatcher::CheckMethod(BfTypeInstance* targetTypeInstance, BfTypeInst
|
|||
|
||||
if ((argIdx >= 0) && (methodInstance->GetParamKind(paramIdx) == BfParamKind_Params) && (paramsElementType == NULL))
|
||||
{
|
||||
if (paramIdx >= (int) mArguments.size())
|
||||
if (argIdx >= (int) mArguments.size())
|
||||
break; // No params
|
||||
|
||||
BfTypedValue argTypedValue = ResolveArgTypedValue(mArguments[argIdx], NULL, genericArgumentsSubstitute);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue