1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed ResolveGenericType with generic delegates

This commit is contained in:
Brian Fiete 2021-01-04 12:18:26 -08:00
parent ccacf0b9db
commit 1c7087ddd9

View file

@ -6795,8 +6795,7 @@ BfType* BfModule::ResolveGenericType(BfType* unspecializedType, BfTypeVector* ty
paramDef->mTypeRef = directTypeRef;
paramDef->mName = unspecializedParamDef->mName;
methodDef->mParams.push_back(paramDef);
paramIdx++;
methodDef->mParams.push_back(paramDef);
delegateInfo->mParams.Add(paramType);
}