mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Added support for generic tuples
This commit is contained in:
parent
a186421ba8
commit
6fe9c78ada
13 changed files with 403 additions and 158 deletions
|
@ -893,7 +893,7 @@ void BfAutoComplete::AddEnumTypeMembers(BfTypeInstance* typeInst, const StringIm
|
|||
bool hasPayload = false;
|
||||
if ((fieldInst.mIsEnumPayloadCase) && (fieldInst.mResolvedType->IsTuple()))
|
||||
{
|
||||
auto payloadType = (BfTupleType*)fieldInst.mResolvedType;
|
||||
auto payloadType = (BfTypeInstance*)fieldInst.mResolvedType;
|
||||
if (!payloadType->mFieldInstances.empty())
|
||||
hasPayload = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue