mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Added reflected TypeDeclaration support for comptime
This commit is contained in:
parent
89651c4a76
commit
e30972d3af
10 changed files with 753 additions and 250 deletions
|
@ -474,6 +474,7 @@ BfCompiler::BfCompiler(BfSystem* bfSystem, bool isResolveOnly)
|
|||
mStringTypeDef = NULL;
|
||||
mStringViewTypeDef = NULL;
|
||||
mThreadStaticAttributeTypeDef = NULL;
|
||||
mTypeTypeDeclDef = NULL;
|
||||
mTypeTypeDef = NULL;
|
||||
mUnboundAttributeTypeDef = NULL;
|
||||
mValueTypeTypeDef = NULL;
|
||||
|
@ -7326,6 +7327,7 @@ bool BfCompiler::DoCompile(const StringImpl& outputDirectory)
|
|||
mStringViewTypeDef = _GetRequiredType("System.StringView");
|
||||
mTestAttributeTypeDef = _GetRequiredType("System.TestAttribute");
|
||||
mThreadStaticAttributeTypeDef = _GetRequiredType("System.ThreadStaticAttribute");
|
||||
mTypeTypeDeclDef = _GetRequiredType("System.TypeDeclaration");
|
||||
mTypeTypeDef = _GetRequiredType("System.Type");
|
||||
mUnboundAttributeTypeDef = _GetRequiredType("System.UnboundAttribute");
|
||||
mValueTypeTypeDef = _GetRequiredType("System.ValueType");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue