--- Comment #21 from Steven Schveighoffer <> 2009-12-28 
08:41:46 PST ---
Just submitted bug 3656, which might require contravariance for delegates to
make it work properly...

Consider that a function foo:

foo(void delegate() dg)

should compile with the following:

class A
   void f1() const {}
   void f2() {}

void main()
   A a = new A;

But if bug 3656 is resolved (and it must be to preserve const), then there is
no current way to mark foo as not caring whether the delegate is const or not.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to