Skip to content

[2.9.2] Regression with comment placement after annotation #886

@boris-petrov

Description

@boris-petrov

Prettier-Java 2.9.2

Playground link

--print-width 200

Input:

@What
/* default */ class A implements B {
}

Output:

@What
/* default */
class A implements B {}

Expected behavior:

@What
/* default */ class A implements B {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions