http://d.puremagic.com/issues/show_bug.cgi?id=4860



--- Comment #3 from klickverbot <c...@klickverbot.at> 2010-09-13 14:37:15 PDT 
---
Steven, I am not quite sure if I see why a non-minimal code snippet in a bug
report would be useful, but here you go:

---
import std.stdio;

class Base {
  void foo( int i ) {}
  void foo( string s ) {}
}

class Derived : Base {
  alias Base.foo foo;
  override void foo( int i ) {}
}

void main() {
  auto d = new Derived();
  void delegate( int ) dg = &d.foo;
  writefln("dg: (%s, %s)", dg.ptr, dg.funcptr);
}
---

Feel free to reduce that to the above test case again. ;)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to