mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Linux fix
This commit is contained in:
parent
03fbc9d468
commit
f09b53e303
1 changed files with 2 additions and 2 deletions
|
@ -7147,7 +7147,7 @@ void BfCompiler::GenerateAutocompleteInfo()
|
|||
BF_ASSERT(payloadType->IsTuple());
|
||||
if (payloadType->IsTuple())
|
||||
{
|
||||
auto tupleType = (BfTupleType*)payloadType;
|
||||
auto tupleType = (BfTypeInstance*)payloadType;
|
||||
for (int fieldIdx = 0; fieldIdx < (int)tupleType->mFieldInstances.size(); fieldIdx++)
|
||||
{
|
||||
auto fieldInstance = &tupleType->mFieldInstances[fieldIdx];
|
||||
|
@ -8279,7 +8279,7 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetTypeInfo(BfCompiler* bfCompiler,
|
|||
reducer.mAllowTypeWildcard = true;
|
||||
|
||||
if (parser.mRootNode->mChildArr.mSize == 0)
|
||||
return false;
|
||||
return "";
|
||||
|
||||
bool attribWasClosed = false;
|
||||
bool isAttributeRef = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue