mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed fixit location for usings when file has scoped usings
This commit is contained in:
parent
c523a73860
commit
1cb91c304b
3 changed files with 19 additions and 0 deletions
|
@ -9931,6 +9931,7 @@ void BfModule::CheckTypeRefFixit(BfAstNode* typeRef, const char* appendName)
|
|||
int insertLoc = 0;
|
||||
|
||||
BfUsingFinder usingFinder;
|
||||
usingFinder.mFromIdx = typeRef->mSrcStart;
|
||||
usingFinder.VisitMembers(typeRef->GetSourceData()->mRootNode);
|
||||
|
||||
for (auto& namespaceStr : fixitNamespaces)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue