1
0
Fork 0
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:
Brian Fiete 2022-01-01 06:36:48 -05:00
parent 156585773d
commit ef6b52a0ac
4 changed files with 54 additions and 9 deletions

View file

@ -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; }
};