mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32: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
|
@ -571,7 +571,16 @@ bool BfContext::ProcessWorkList(bool onlyReifiedTypes, bool onlyReifiedMethods)
|
|||
{
|
||||
if (!mCompiler->mIsResolveOnly)
|
||||
BF_ASSERT(!methodInstance->mIsReified || methodInstance->mDeclModule->mIsModuleMutable);
|
||||
ProcessMethod(methodInstance);
|
||||
|
||||
auto autoComplete = mCompiler->GetAutoComplete();
|
||||
if ((autoComplete != NULL) && (autoComplete->mModule == NULL))
|
||||
{
|
||||
autoComplete->mModule = methodInstance->mDeclModule;
|
||||
ProcessMethod(methodInstance);
|
||||
autoComplete->mModule = NULL;
|
||||
}
|
||||
else
|
||||
ProcessMethod(methodInstance);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue