Unused and Un-assigned UDT Member inspections #5974
Labels
difficulty-02-ducky
Resolving these involves the internal API, but with relatively easy problems to solve.
enhancement
Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.
feature-inspections
up-for-grabs
Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky
Milestone
Version 2.5.2.x (debug)
OS: Microsoft Windows NT 10.0.19044.0, x64
Host Product: Microsoft Office x64
Host Version: 16.0.15028.20228
Host Executable: EXCEL.EXE
Description
RD does not flag unused or unassigned User Defined Type members.
To Reproduce
The following code generates 'VariableNotUsed' and 'VariableNotAssigned' inspection results for
mNotUsed
, but no flagged results for theSecondVal
UDT Member.Expected behavior
In the above example, RD should flag
SecondVal
asUDTMemberNotUsed
andUDTMemberNotAssigned
(if implemented as a dedicated inspection) or flagSecondVal
as part of theVariableNotUsed/Assigned
inspection result sets.The text was updated successfully, but these errors were encountered: