mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Fixed autocomplete stack overflow
This commit is contained in:
parent
224a17e669
commit
7b65f8887e
2 changed files with 4 additions and 2 deletions
|
@ -243,13 +243,13 @@ namespace IDE.Compiler
|
|||
public void GetAutocompleteInfo(String outAutocompleteInfo)
|
||||
{
|
||||
char8* result = BfCompiler_GetAutocompleteInfo(mNativeBfCompiler);
|
||||
scope String(result).MoveTo(outAutocompleteInfo);
|
||||
outAutocompleteInfo.Append(StringView(result));
|
||||
}
|
||||
|
||||
public void GetSymbolReferences(BfPassInstance passInstance, BfResolvePassData resolvePassData, String outSymbolReferences)
|
||||
{
|
||||
char8* result = BfCompiler_GetSymbolReferences(mNativeBfCompiler, passInstance.mNativeBfPassInstance, resolvePassData.mNativeResolvePassData);
|
||||
scope String(result).MoveTo(outSymbolReferences);
|
||||
outSymbolReferences.Append(StringView(result));
|
||||
}
|
||||
|
||||
/*public void UpdateRenameSymbols(BfPassInstance passInstance, BfResolvePassData resolvePassData)
|
||||
|
|
|
@ -3763,6 +3763,7 @@ void BfSystem::RemoveOldData()
|
|||
|
||||
void BfSystem::VerifyTypeDef(BfTypeDef* typeDef)
|
||||
{
|
||||
#if defined _DEBUG && false
|
||||
auto _FindTypeDef = [&](BfTypeReference* typeRef)
|
||||
{
|
||||
if (auto directStrTypeRef = BfNodeDynCast<BfDirectStrTypeReference>(typeRef))
|
||||
|
@ -3796,6 +3797,7 @@ void BfSystem::VerifyTypeDef(BfTypeDef* typeDef)
|
|||
_FindTypeDef(paramDef->mTypeRef);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
BfTypeOptions* BfSystem::GetTypeOptions(int optionsIdx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue