-
Notifications
You must be signed in to change notification settings - Fork 315
Open
Labels
bugIdentifies work items for known bugsIdentifies work items for known bugsresolverIssue is easier to resolve with knowledge of the internal resolver API and the Antlr4 parse trees.Issue is easier to resolve with knowledge of the internal resolver API and the Antlr4 parse trees.
Milestone
Description
Rubberduck version information
Rubberduck version [2.5.2.6080]
Operating System: [Microsoft Windows NT 10.0.19044.0, x64]
Host Product: [Microsoft Office x64]
Host Version: [16.0.15726.20202]
Host Executable: [EXCEL.EXE]
Description
Inspection false positive when using a let property to refer to another let property.
To Reproduce
- Causes "Property let accessor 'Test' is not used.":
Private Value As String
Private Property Get Test() As String
Test = Value
End Property
Private Property Let Test(ByVal RHS As String)
Value = RHS
End Property
Public Property Let DuplicateTest(ByVal RHS As Double)
Test = RHS
End Property
Expected behavior
No "is not used" inspection on Let Test
Additional context
When using Find all references on Test within DuplicateTest the reference is Get Test when it should really be Let Test.
Metadata
Metadata
Assignees
Labels
bugIdentifies work items for known bugsIdentifies work items for known bugsresolverIssue is easier to resolve with knowledge of the internal resolver API and the Antlr4 parse trees.Issue is easier to resolve with knowledge of the internal resolver API and the Antlr4 parse trees.