Comment #0 by andrej.mitrovich — 2013-09-24T15:45:22Z
-----
module test;
struct K
{
mixin templ;
alias a = foo; // ok
}
struct F
{
alias a = foo; // fail
mixin templ;
}
mixin template templ()
{
void foo() { }
}
void main() { }
-----
$ dmd test.d
test.d(11): Error: undefined identifier foo
It does not appear to be a regression, but it might be a duplicate of some other bug (?).
Comment #1 by robert.schadek — 2024-12-13T18:12:02Z