digitalmars.D.bugs - [Issue 306] New: dmd 165 breaks existing code
- d-bugmail puremagic.com (17/17) Aug 22 2006 http://d.puremagic.com/issues/show_bug.cgi?id=306
- Derek Parnell (10/30) Aug 22 2006 This is the sort of thing I was worried about too. It is quite feasible
- d-bugmail puremagic.com (9/9) Sep 02 2006 http://d.puremagic.com/issues/show_bug.cgi?id=306
- Thomas Kuehne (12/17) Sep 03 2006 -----BEGIN PGP SIGNED MESSAGE-----
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
--
Aug 22 2006
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
Aug 22 2006
http://d.puremagic.com/issues/show_bug.cgi?id=306
bugzilla digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Fixed 0.166
--
Sep 02 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail puremagic.com schrieb am 2006-08-23:http://d.puremagic.com/issues/show_bug.cgi?id=306existing 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.164Added to DStress as http://dstress.kuehne.cn/run/d/delegate_19_A.d http://dstress.kuehne.cn/run/d/delegate_19_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFE+pidLK5blCcjpWoRAluEAJwPde8FX6wi8XBP902v1kPIL7C9/wCeLdw8 41DgnsCwOyIfWt5nazJXqIY= =0gis -----END PGP SIGNATURE-----
Sep 03 2006









Derek Parnell <derek nomail.afraid.org> 