mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 18:18:00 +02:00
Fixed 'params' param type when specialized by method generic arg
This commit is contained in:
parent
e4c05473a8
commit
cf40ef26ee
1 changed files with 1 additions and 0 deletions
|
@ -1961,6 +1961,7 @@ bool BfMethodMatcher::CheckMethod(BfTypeInstance* targetTypeInstance, BfTypeInst
|
||||||
goto NoMatch;
|
goto NoMatch;
|
||||||
|
|
||||||
auto paramsArrayType = methodInstance->GetParamType(paramIdx);
|
auto paramsArrayType = methodInstance->GetParamType(paramIdx);
|
||||||
|
paramsArrayType = mModule->ResolveGenericType(paramsArrayType, NULL, genericArgumentsSubstitute);
|
||||||
|
|
||||||
if ((mArguments[argIdx].mArgFlags & BfArgFlag_ParamsExpr) != 0)
|
if ((mArguments[argIdx].mArgFlags & BfArgFlag_ParamsExpr) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue