dlang-community / dfmt

Dfmt is a formatter for D source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@safe invariant => @safeinvariant

FeepingCreature opened this issue · comments

Input:

struct S
{
    @safe invariant { assert(true); }
}

Output:

struct S
{
    @safeinvariant
    {
        assert(true);
    }
}