"bearophile" <[email protected]> wrote in message news:[email protected]... > spir: > > A reduced test case shows that DMD has holes here, this compiles with no > errors. I think this DMD bug is already in Bugzilla: > > void foo(ref int x) {} > void bar1(void function(int) f) {} > void bar2(void function(string) f) {} > void main() { > bar1(&foo); > bar2(&foo); > } >
Good old http://d.puremagic.com/issues/show_bug.cgi?id=3797
