Skip to content

@trusted and return attributes get sandwiched #601

@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
    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