mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed data cycle with interface decl "struct A : IEnumerable<Inner>"
This commit is contained in:
parent
87ac9e65cf
commit
df76b17c49
1 changed files with 2 additions and 1 deletions
|
@ -5165,7 +5165,8 @@ BfTypeInstance* BfModule::GetOuterType(BfType* type)
|
||||||
BF_ASSERT((intptr)typeGenericArguments.size() >= (intptr)outerTypeDef->mGenericParamDefs.size());
|
BF_ASSERT((intptr)typeGenericArguments.size() >= (intptr)outerTypeDef->mGenericParamDefs.size());
|
||||||
typeGenericArguments.resize(outerTypeDef->mGenericParamDefs.size());
|
typeGenericArguments.resize(outerTypeDef->mGenericParamDefs.size());
|
||||||
|
|
||||||
auto outerType = ResolveTypeDef(outerTypeDef, typeGenericArguments, BfPopulateType_Declaration);
|
//auto outerType = ResolveTypeDef(outerTypeDef, typeGenericArguments, BfPopulateType_Declaration);
|
||||||
|
auto outerType = ResolveTypeDef(outerTypeDef, typeGenericArguments, BfPopulateType_Identity);
|
||||||
if (outerType == NULL)
|
if (outerType == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
return outerType->ToTypeInstance();
|
return outerType->ToTypeInstance();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue