libdparse icon indicating copy to clipboard operation
libdparse copied to clipboard

TemplateMixin allowed in function bodies

Open ghost opened this issue 5 years ago • 0 comments

this is allowed by dparse:

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

but it is illegal by the official grammar.

ghost avatar Jun 24 '20 09:06 ghost