mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Added IEnumerable<T> to sized arrays
This commit is contained in:
parent
7787efda7e
commit
458eb90752
2 changed files with 65 additions and 1 deletions
|
@ -603,6 +603,9 @@ bool BfGenericInferContext::InferGenericArguments(BfMethodInstance* methodInstan
|
|||
{
|
||||
InferGenericArgument(methodInstance, srcGenericArg, ifaceConstraint, BfIRValue());
|
||||
auto typeInstance = srcGenericArg->ToTypeInstance();
|
||||
if (typeInstance == NULL)
|
||||
typeInstance = mModule->GetWrappedStructType(srcGenericArg);
|
||||
|
||||
if (typeInstance != NULL)
|
||||
{
|
||||
for (auto ifaceEntry : typeInstance->mInterfaces)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue