Spin out issue from bug 8813.
This is a rest of bug 4838.
void main()
{
struct S { void foo() const {} }
S s;
void delegate() const dg = &s.foo; // OK
void foo(void delegate() const dg){} // OK
struct Foo(T) {}
alias Foo!(void delegate() const) X; // NG
}
Comment #1 by github-bugzilla — 2012-10-15T09:22:20Z