this is allowed by dparse:
void main() { mixin template MT() {int a;} mixin MT!() a; }
but it is illegal by the official grammar.
Both dmd v2.113.0-beta.1 and ldc 1.42.0 can compile this code.
Activity
0-v-0 commentedon May 25, 2026
Both dmd v2.113.0-beta.1 and ldc 1.42.0 can compile this code.