mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Allow comptime extern constraint typerefs
This commit is contained in:
parent
6fe2a7002a
commit
12a3ba937a
5 changed files with 54 additions and 18 deletions
|
@ -21956,6 +21956,8 @@ void BfModule::DoMethodDeclaration(BfMethodDeclaration* methodDeclaration, bool
|
|||
|
||||
for (auto genericParam : methodInstance->mMethodInfoEx->mGenericParams)
|
||||
{
|
||||
if (!genericParam->mExternType->IsGenericParam())
|
||||
AddDependency(genericParam->mExternType, mCurTypeInstance, BfDependencyMap::DependencyFlag_Constraint);
|
||||
for (auto constraintTypeInst : genericParam->mInterfaceConstraints)
|
||||
AddDependency(constraintTypeInst, mCurTypeInstance, BfDependencyMap::DependencyFlag_Constraint);
|
||||
if (genericParam->mTypeConstraint != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue