فهرست منبع

Temporarily revert decl change due to reification bug

Brian Fiete 3 سال پیش
والد
کامیت
96de5c9994
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      IDEHelper/Compiler/BfIRBuilder.cpp

+ 3 - 0
IDEHelper/Compiler/BfIRBuilder.cpp

@@ -2717,6 +2717,9 @@ void BfIRBuilder::CreateTypeDeclaration(BfType* type, bool forceDbgDefine)
 	if ((typeInstance != NULL) && (typeInstance->mModule != NULL))
 	if ((typeInstance != NULL) && (typeInstance->mModule != NULL))
 		populateModule = typeInstance->mModule;
 		populateModule = typeInstance->mModule;
 
 
+	//TODO: Temporary
+	populateModule = mModule;
+
 	bool wantDIData = DbgHasInfo() && (!type->IsUnspecializedType());
 	bool wantDIData = DbgHasInfo() && (!type->IsUnspecializedType());
 			
 			
 	// Types that don't have a proper 'defining module' need to be defined in every module they are used	
 	// Types that don't have a proper 'defining module' need to be defined in every module they are used