mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Allow extension methods with generics
This commit is contained in:
parent
c6f1f358a9
commit
6bfd49f3ae
1 changed files with 2 additions and 1 deletions
|
@ -587,7 +587,8 @@ BfMethodDef* BfDefBuilder::CreateMethodDef(BfMethodDeclaration* methodDeclaratio
|
||||||
|
|
||||||
if ((methodDef->mMethodType == BfMethodType_Normal) ||
|
if ((methodDef->mMethodType == BfMethodType_Normal) ||
|
||||||
(methodDef->mMethodType == BfMethodType_Operator) ||
|
(methodDef->mMethodType == BfMethodType_Operator) ||
|
||||||
(methodDef->mMethodType == BfMethodType_Mixin))
|
(methodDef->mMethodType == BfMethodType_Mixin) ||
|
||||||
|
(methodDef->mMethodType == BfMethodType_Extension))
|
||||||
{
|
{
|
||||||
ParseGenericParams(methodDeclaration->mGenericParams, methodDeclaration->mGenericConstraintsDeclaration, methodDef->mGenericParams, &methodDef->mExternalConstraints, outerGenericSize);
|
ParseGenericParams(methodDeclaration->mGenericParams, methodDeclaration->mGenericConstraintsDeclaration, methodDef->mGenericParams, &methodDef->mExternalConstraints, outerGenericSize);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue