Skip to content

Support int*[0].init #526

@ntrel

Description

@ntrel

Since 2.102.2 (found with run.dlang.org), the following is valid:

	enum E : int*[0] { a = int*[0].init }

dfix with libdparse updated to 0.25.1 causes these errors for the above line, on the * token:

/home/nick/dr/src/core/internal/traits.d(652:35)[error]: Primary expression expected
/home/nick/dr/src/core/internal/traits.d(652:39)[error]: `,` or `}` expected (found token `.`)

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