---------------------------- alias id(alias a) = a; struct A(alias f) { alias g = id!(a => f(a)); this(int) { g.stringof; } } A!(a => a) x; ---------------------------- bug.d(6): Error: cannot resolve type for this.__lambda3 bug.d(10): Error: template instance bug.A!((a) => a) error instantiating
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17697 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB