1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Add colorization options for primitives, structs, generic params and make typealias match aliased type color.

This commit is contained in:
Fusion 2021-03-22 11:44:13 +01:00
parent 10e2a56530
commit 7a7cc716c6
8 changed files with 66 additions and 11 deletions

View file

@ -4069,6 +4069,8 @@ void BfCompiler::ProcessAutocompleteTempType()
elemType = BfSourceElementType_Interface;
else if (checkTempType->mTypeCode == BfTypeCode_Object)
elemType = BfSourceElementType_RefType;
else if (checkTempType->mTypeCode == BfTypeCode_Struct)
elemType = BfSourceElementType_Struct;
mResolvePassData->mSourceClassifier->SetElementType(checkTempType->mTypeDeclaration->mNameNode, elemType);
}