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:
parent
10e2a56530
commit
7a7cc716c6
8 changed files with 66 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue