Skip to content

@trusted and return attributes get sandwiched #601

Open
@dkorpel

Description

@dkorpel
struct S
{
    void f() @trusted return
    {
    }
}

Gets formatted to:

struct S
{
    void f() @trustedreturn
    {
    }
}

Turning the two attributes into one erroneous attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions