mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Experimental disabling of 'wantGeneric=false' for inner delegates/tuples
This commit is contained in:
parent
156585773d
commit
ef6b52a0ac
4 changed files with 54 additions and 9 deletions
|
@ -587,6 +587,8 @@ public:
|
|||
virtual bool IsIn() { return false; }
|
||||
virtual bool IsOut() { return false; }
|
||||
virtual bool IsGenericParam() { return false; }
|
||||
virtual bool IsTypeGenericParam() { return false; }
|
||||
virtual bool IsMethodGenericParam() { return false; }
|
||||
virtual bool IsClosure() { return false; }
|
||||
virtual bool IsMethodRef() { return false; }
|
||||
virtual bool IsTuple() { return false; }
|
||||
|
@ -1073,6 +1075,8 @@ public:
|
|||
|
||||
public:
|
||||
bool IsGenericParam() override { return true; }
|
||||
bool IsTypeGenericParam() override { return mGenericParamKind == BfGenericParamKind_Type; }
|
||||
bool IsMethodGenericParam() override { return mGenericParamKind == BfGenericParamKind_Type; }
|
||||
virtual bool IsUnspecializedType() override { return true; }
|
||||
virtual bool IsReified() override { return false; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue