1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed reification on delegate invocations

This commit is contained in:
Brian Fiete 2022-06-13 11:50:13 -07:00
parent 500a42b054
commit 80d9b11166
2 changed files with 8 additions and 2 deletions

View file

@ -15926,7 +15926,13 @@ int BfExprEvaluator::GetMixinVariable()
BfModuleMethodInstance BfExprEvaluator::GetSelectedMethod(BfAstNode* targetSrc, BfTypeInstance* curTypeInst, BfMethodDef* methodDef, BfMethodMatcher& methodMatcher, BfType** overrideReturnType)
{
bool failed = false;
if ((mModule->mIsReified) && (!curTypeInst->mIsReified))
{
// Make sure target type gets reified
mModule->PopulateType(curTypeInst);
}
BfTypeVector resolvedGenericArguments;
BfMethodState* rootMethodState = NULL;
if (mModule->mCurMethodState != NULL)