mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Added ability to rename labels and goto definition on labels
This commit is contained in:
parent
a7e9182d4b
commit
c9da45715b
6 changed files with 86 additions and 29 deletions
|
@ -12964,7 +12964,14 @@ void BfExprEvaluator::InjectMixin(BfAstNode* targetSrc, BfTypedValue target, boo
|
|||
{
|
||||
auto targetScope = mModule->FindScope(scopedInvocationTarget->mScopeName, curMethodState->mMixinState);
|
||||
if (targetScope != NULL)
|
||||
{
|
||||
mixinState->mTargetScope = targetScope;
|
||||
if (autoComplete != NULL)
|
||||
{
|
||||
if (auto identifer = BfNodeDynCast<BfIdentifierNode>(scopedInvocationTarget->mScopeName))
|
||||
autoComplete->CheckLabel(identifer, NULL, targetScope);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mModule->mBfIRBuilder->SaveDebugLocation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue