"bearophile" <bearophileh...@lycos.com> wrote in message 
news:ihl0i0$1mes$1...@digitalmars.com...
> 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 


Reply via email to