Skip to content

Support align(default) #523

@0xEAB

Description

@0xEAB

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;
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions