mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Fixed issues with some decltype statements in type alias decl
This commit is contained in:
parent
2af4468b4d
commit
9030d86562
2 changed files with 7 additions and 2 deletions
|
@ -2523,6 +2523,9 @@ void BfModule::DoPopulateType_TypeAlias(BfTypeInstance* typeAlias)
|
|||
auto typeAliasDecl = (BfTypeAliasDeclaration*)typeDef->mTypeDeclaration;
|
||||
BfType* aliasToType = NULL;
|
||||
|
||||
if (typeAlias->mBaseType == NULL)
|
||||
typeAlias->mBaseType = ResolveTypeDef(mCompiler->mValueTypeTypeDef)->ToTypeInstance();
|
||||
|
||||
typeAlias->mDefineState = BfTypeDefineState_ResolvingBaseType;
|
||||
BfTypeState typeState(mCurTypeInstance, mContext->mCurTypeState);
|
||||
typeState.mPopulateType = BfPopulateType_Data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue