|
@@ -9107,6 +9107,9 @@ BfTypedValue BfExprEvaluator::MatchMethod(BfAstNode* targetSrc, BfMethodBoundExp
|
|
|
lookupTypeInst = NULL;
|
|
|
}
|
|
|
|
|
|
+ if ((mModule->mIsReified) && (targetTypeInst != NULL) && (!targetTypeInst->mIsReified) && (!targetTypeInst->mModule->mReifyQueued))
|
|
|
+ mModule->PopulateType(targetTypeInst);
|
|
|
+
|
|
|
BfMethodDef* methodDef = NULL;
|
|
|
BfTypeVector checkMethodGenericArguments;
|
|
|
|
|
@@ -15927,12 +15930,6 @@ BfModuleMethodInstance BfExprEvaluator::GetSelectedMethod(BfAstNode* targetSrc,
|
|
|
{
|
|
|
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)
|