mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
CheckGenericConstraints var handling
This commit is contained in:
parent
b63b4af6fe
commit
9a5d2ff665
1 changed files with 3 additions and 0 deletions
|
@ -8553,6 +8553,9 @@ bool BfModule::CheckGenericConstraints(const BfGenericParamSource& genericParamS
|
|||
bool ignoreErrors = (errorOut == NULL) ||
|
||||
((genericParamSource.mMethodInstance == NULL) && (genericParamSource.mTypeInstance == NULL));
|
||||
|
||||
if (checkArgType->IsVar())
|
||||
return true;
|
||||
|
||||
BfType* origCheckArgType = checkArgType;
|
||||
|
||||
if (origCheckArgType->IsRef())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue