Skip to content

TemplateMixin allowed in function bodies #419

@ghost

Description

this is allowed by dparse:

void main()
{
    mixin template MT() {int a;}
    mixin MT!() a;
}

but it is illegal by the official grammar.

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