Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@trusted and return attributes get sandwiched #601

Open
dkorpel opened this issue May 15, 2024 · 0 comments
Open

@trusted and return attributes get sandwiched #601

dkorpel opened this issue May 15, 2024 · 0 comments
Labels

Comments

@dkorpel
Copy link

dkorpel commented May 15, 2024

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

Gets formatted to:

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

Turning the two attributes into one erroneous attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants