mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Handled generic depth limitation for pointers, delegates, tuples, arrays
This commit is contained in:
parent
dcafa5f9ca
commit
ceb400d573
5 changed files with 74 additions and 42 deletions
|
@ -578,7 +578,7 @@ bool BfCompiler::IsTypeUsed(BfType* checkType, BfProject* curProject)
|
|||
if (checkType->IsPointer())
|
||||
return IsTypeUsed(((BfPointerType*)checkType)->mElementType, curProject);
|
||||
if (checkType->IsRef())
|
||||
return IsTypeUsed(((BfPointerType*)checkType)->mElementType, curProject);
|
||||
return IsTypeUsed(((BfRefType*)checkType)->mElementType, curProject);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue