July 09, 2008 [Issue 2207] New: overload resolution fails with deprecation | ||||
---|---|---|---|---|
| ||||
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. -- |
July 12, 2008 [Issue 2207] overload resolution fails with deprecation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2207 larsivar@igesund.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from larsivar@igesund.net 2008-07-12 03:02 ------- Fixed in DMD 1.033 -- |
Copyright © 1999-2021 by the D Language Foundation