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:
parent
37f72cd3b6
commit
c7da3e15f9
4 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue