digitalmars.D.bugs - [Issue 2207] New: overload resolution fails with deprecation
- d-bugmail puremagic.com (31/31) Jul 09 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2207
- d-bugmail puremagic.com (9/9) Jul 12 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2207
http://d.puremagic.com/issues/show_bug.cgi?id=2207 Summary: overload resolution fails with deprecation Product: D Version: 1.032 Platform: Other OS/Version: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: larsivar igesund.net class Bar{ deprecated void foo(int param) { } void foo(char[] param) { } } void fooBar() { Bar b = new Bar; char[] str = "bar"; b.foo(str); } Yields depr.d(15): function depr.Bar.foo is deprecated This worked in DMD 1.031 and is a breaking change for Tango. --
Jul 09 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2207 larsivar igesund.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed in DMD 1.033 --
Jul 12 2008