mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed repr for on-demand delegate types, avoiding circular Event refs
This commit is contained in:
parent
ddc943876d
commit
95e4c1b3ca
10 changed files with 39 additions and 78 deletions
|
@ -461,7 +461,7 @@ public:
|
|||
virtual bool IsString() { return false; }
|
||||
virtual bool IsSizedArray() { return false; }
|
||||
virtual bool IsUnknownSizedArray() { return false; }
|
||||
virtual bool IsArray() { return false; }
|
||||
virtual bool IsArray() { return false; }
|
||||
virtual bool IsDelegate() { return false; }
|
||||
virtual bool IsFunction() { return false; }
|
||||
virtual bool IsDelegateFromTypeRef() { return false; }
|
||||
|
@ -1920,16 +1920,20 @@ public:
|
|||
// These depend on the params in Invoke
|
||||
bool mIsUnspecializedType;
|
||||
bool mIsUnspecializedTypeVariation;
|
||||
|
||||
BfType* mReturnType;
|
||||
Array<BfType*> mParams;
|
||||
|
||||
public:
|
||||
BfDelegateType()
|
||||
{
|
||||
mIsUnspecializedType = false;
|
||||
mIsUnspecializedTypeVariation = false;
|
||||
mReturnType = NULL;
|
||||
}
|
||||
~BfDelegateType();
|
||||
|
||||
virtual bool IsOnDemand() override { return true; }
|
||||
|
||||
virtual bool IsOnDemand() override { return true; }
|
||||
|
||||
virtual bool IsDelegate() override { return mTypeDef->mIsDelegate; }
|
||||
virtual bool IsDelegateFromTypeRef() override { return mTypeDef->mIsDelegate; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue