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

Support align(default) once upstream does #523

Open
0xEAB opened this issue Dec 30, 2024 · 0 comments
Open

Support align(default) once upstream does #523

0xEAB opened this issue Dec 30, 2024 · 0 comments

Comments

@0xEAB
Copy link

0xEAB commented Dec 30, 2024

Upstream D has plans to support align(default) in the future: dlang/dmd#20587 dlang/dmd#20589

At the moment, I’m getting the following errors with serve-d on the upstream test file:

struct S
{
    align(1)
    {
        short x1;
        int y1;
        long z1;

        align(default) /* Primary expression expected */
        { /* declaration expected instead of `{` */
            short x;
            int y;
            long z;
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant