mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed Go To Definition cases in generated code
This commit is contained in:
parent
4e5327e8b8
commit
100181b062
4 changed files with 36 additions and 9 deletions
|
@ -4279,6 +4279,7 @@ void BfCompiler::ProcessAutocompleteTempType()
|
|||
{
|
||||
if ((autoComplete != NULL) && (autoComplete->mResolveType == BfResolveType_GoToDefinition))
|
||||
{
|
||||
autoComplete->SetModule(NULL);
|
||||
for (auto& kv : mResolvePassData->mEmitEmbedEntries)
|
||||
{
|
||||
String typeName = kv.mKey;
|
||||
|
@ -4296,6 +4297,7 @@ void BfCompiler::ProcessAutocompleteTempType()
|
|||
}
|
||||
|
||||
DoWorkLoop();
|
||||
autoComplete->SetModule(mContext->mScratchModule);
|
||||
}
|
||||
|
||||
GenerateAutocompleteInfo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue