https://issues.dlang.org/show_bug.cgi?id=17863
Issue ID: 17863 Summary: cannot deduce function with implicit conversion Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: dfj1es...@sneakemail.com void f1(T)(const T a){} //works void f2(T)(immutable T a){} //doesn't work void f3(T)(shared T a){} //doesn't work void g(){ f1(0); f2(0); f3(0); } --