Skip to content

Commit 7832911

Browse files
committed
Added todo comment
1 parent 9694b39 commit 7832911

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Rubberduck.Parsing/Symbols/DeclarationFinder.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,8 @@ public IEnumerable<Declaration> GetDeclarationsWithIdentifiersToAvoid(Declaratio
836836

837837
var accessibleDeclarations = GetAccessibleDeclarations(target);
838838

839+
//todo: handle case where target is in a consuming module rather than the exposing module
840+
839841
//Filter accessible declarations to those that would result in name collisions or hiding
840842
var possibleConflictDeclarations = accessibleDeclarations.Where(dec =>
841843
IsInProceduralModule(dec)

0 commit comments

Comments
 (0)