Skip to content

Inspection to detect a line label named the same as an otherwise in-scope procedure #2234

@retailcoder

Description

@retailcoder

The single edge-case that makes the Call keyword mandatory should trigger a warning:

Sub DoSomething()
Test: DoSomethingElse 'Test is parsed as a line label by VBA and RD
End Sub

Sub Test() ' procedure is in-scope for DoSomething but will not be called
End Sub

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, or enhancements to existing features. Ideas. Anything within the project's scope.feature-inspections

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions