http://d.puremagic.com/issues/show_bug.cgi?id=9747
Summary: IFTI argument deduction fails for committed string literals which are implicitly converted to a static array Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@dawg.eu --- Comment #0 from Martin Nowak <c...@dawg.eu> 2013-03-18 07:24:42 PDT --- cat > bug.d << CODE void fooA(T)(T[4]) {} void fooC(size_t dim)(char[dim]) {} void fooW(size_t dim)(wchar[dim]) {} void fooD(size_t dim)(dchar[dim]) {} void bar() { fooA("abcd"c); fooA("abcd"w); fooA("abcd"d); fooC("abcd"c); fooW("abcd"w); fooD("abcd"d); } CODE dmd -c bug -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------