Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 23, 2006 [Issue 306] New: dmd 165 breaks existing code | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=306 Summary: dmd 165 breaks existing code Product: D Version: 0.165 Platform: PC OS/Version: Windows Status: NEW Severity: critical Priority: P1 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: someidiot@earthlink.net existing code that was legal with dmd.164 does not compile with 165. void append (char[] content); void append (char[] delegate()); these two cause an ambiguity in dmd.165 whereas they did not in dmd.164 -- |
August 23, 2006 Re: [Issue 306] New: dmd 165 breaks existing code | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | On Wed, 23 Aug 2006 05:25:24 +0000 (UTC), d-bugmail@puremagic.com wrote: > http://d.puremagic.com/issues/show_bug.cgi?id=306 > > Summary: dmd 165 breaks existing code > Product: D > Version: 0.165 > Platform: PC > OS/Version: Windows > Status: NEW > Severity: critical > Priority: P1 > Component: DMD > AssignedTo: bugzilla@digitalmars.com > ReportedBy: someidiot@earthlink.net > > existing code that was legal with dmd.164 does not compile with 165. > > void append (char[] content); > void append (char[] delegate()); > > these two cause an ambiguity in dmd.165 whereas they did not in dmd.164 This is the sort of thing I was worried about too. It is quite feasible that 'append' might want to behave differently depending on whether the argument is a string or a delegate. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocrity!" 23/08/2006 4:34:07 PM |
September 03, 2006 [Issue 306] dmd 165 breaks existing code | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=306 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2006-09-02 19:46 ------- Fixed 0.166 -- |
September 03, 2006 Re: [Issue 306] New: dmd 165 breaks existing code | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@puremagic.com schrieb am 2006-08-23: > http://d.puremagic.com/issues/show_bug.cgi?id=306 > existing code that was legal with dmd.164 does not compile with 165. > > void append (char[] content); > void append (char[] delegate()); > > these two cause an ambiguity in dmd.165 whereas they did not in dmd.164 Added to DStress as http://dstress.kuehne.cn/run/d/delegate_19_A.d http://dstress.kuehne.cn/run/d/delegate_19_B.d Thomas |
Copyright © 1999-2021 by the D Language Foundation