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

DynamicCastToSignature release fix

This commit is contained in:
Brian Fiete 2025-03-22 16:08:14 -04:00
parent 37f72cd3b6
commit c7da3e15f9
4 changed files with 9 additions and 9 deletions

View file

@ -9520,7 +9520,7 @@ BfType* BfModule::ResolveGenericType(BfType* unspecializedType, BfTypeVector* ty
if (typeDef->mIsDelegate)
{
BfDefBuilder::AddMethod(typeDef, BfMethodType_Ctor, BfProtection_Public, false, "");
BfDefBuilder::AddDynamicCastMethods(typeDef);
BfDefBuilder::AddDynamicCastMethods(typeDef, true);
}
delegateType->mContext = mContext;
@ -12907,7 +12907,7 @@ BfType* BfModule::ResolveTypeRef_Ref(BfTypeReference* typeRef, BfPopulateType po
if (typeDef->mIsDelegate)
{
BfDefBuilder::AddMethod(typeDef, BfMethodType_Ctor, BfProtection_Public, false, "");
BfDefBuilder::AddDynamicCastMethods(typeDef);
BfDefBuilder::AddDynamicCastMethods(typeDef, true);
}
delegateType->mContext = mContext;