http://d.puremagic.com/issues/show_bug.cgi?id=4592
Summary: Can't overload over strings Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: dfj1es...@sneakemail.com --- Comment #0 from Sobirari Muhomori <dfj1es...@sneakemail.com> 2010-08-06 12:56:15 PDT --- --- void goo(string p){} void goo(wstring p){} void goo() { immutable wstring pp="pp"; goo(pp); } --- >dmd -c test.d -w -o- -debug --- test.d(11): Error: function test.goo called with argument types: ((immutable(wchar[]))) matches both: test.goo(string p) and: test.goo(immutable(wchar)[] p) --- Digital Mars D Compiler v2.047 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------