From 2387bd6be9feec6dadc37138c5e5c25785749c28 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Wed, 16 Sep 2020 15:55:45 -0700 Subject: [PATCH] Fixed interface reifications --- IDEHelper/Compiler/BfCompiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IDEHelper/Compiler/BfCompiler.cpp b/IDEHelper/Compiler/BfCompiler.cpp index 7e968d9a..3fbc5443 100644 --- a/IDEHelper/Compiler/BfCompiler.cpp +++ b/IDEHelper/Compiler/BfCompiler.cpp @@ -5171,8 +5171,8 @@ void BfCompiler::PopulateReified() } // Check reifications forced by virtuals or interfaces - if ((!mIsResolveOnly) && (typeInst != NULL) && (typeInst->mIsReified) && (!typeInst->IsUnspecializedType()) - && (typeInst->mHasBeenInstantiated) && (!typeInst->IsIncomplete())) + if ((!mIsResolveOnly) && (typeInst != NULL) && (typeInst->mIsReified) && (!typeInst->IsUnspecializedType()) && (!typeInst->IsInterface()) && + (typeInst->mHasBeenInstantiated) && (!typeInst->IsIncomplete())) { // If we have chained methods, make sure we implement the chain members if the chain head is implemented and reified if (typeInst->mTypeDef->mIsCombinedPartial)