digitalmars.D.bugs - [Issue 4592] New: Can't overload over strings
- d-bugmail puremagic.com (34/35) Aug 06 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4592
- d-bugmail puremagic.com (12/12) Jun 15 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4592
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: nobody puremagic.com ReportedBy: dfj1esp02 sneakemail.com 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: -------
Aug 06 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4592 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 2367 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 15 2011