Skip to content

Bug: First line after comment is not flagged #184

Open
@shuebner

Description

@shuebner

Usage of static File is not flagged when it is the first non-empty code line after a comment:

Image

Reproduce:

  1. Write code that should be flagged (e. g. usage of static File)
  2. Observe that it is flagged
  3. Add a code comment with // above the flagged line, optionally add empty lines between

Expected Behavior:
The code line is flagged.

Actual Behavior:
The code line is no longer flagged

Remove the code comment and observe that the line is flagged again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions