Skip to content

Parse some type of auto declaration as EponymousTemplateDeclaration #240

Open
@ghost

Description

templated enums decl are called EponymousTemplateDeclaration, but not auto. Maybe they should be the same.

enum ep1(T) = T.sizeof; // EponymousTemplateDeclaration
auto ep2(T) = T.sizeof;  // for now VariableDeclaration...

(https://github.com/dlang-community/libdparse/blob/master/src/dparse/parser.d#L2015)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions