mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Method selection fix with extern constraint subsets, prim default ctor
This commit is contained in:
parent
e887b2fb59
commit
4188f607c7
2 changed files with 11 additions and 2 deletions
|
@ -7770,7 +7770,7 @@ bool BfModule::CheckGenericConstraints(const BfGenericParamSource& genericParamS
|
|||
{
|
||||
canAlloc = (checkGenericParamFlags & (BfGenericParamFlag_New | BfGenericParamFlag_Var)) != 0;
|
||||
}
|
||||
else
|
||||
else if (checkArgType->IsPrimitiveType())
|
||||
{
|
||||
// Any primitive types and stuff can be allocated
|
||||
canAlloc = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue