Skip to content

Imports for markdown comments get removed #1553

@Kaktushose

Description

@Kaktushose

Imports that are solely used in markdown comments are wrongly claimed as unused and thus are being removed

Input

import com.acme.Example;

/// This is an [Example]
public class Foo {...}

Expected

no changes

Actual

/// This is an [Example]
               ^^^^ missing reference
public class Foo {...}

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