[Issue 306] New: dmd 165 breaks existing code

Thomas Kuehne thomas-dloop at kuehne.cn
Sun Sep 3 02:28:34 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at 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


-----BEGIN PGP SIGNATURE-----

iD8DBQFE+pidLK5blCcjpWoRAluEAJwPde8FX6wi8XBP902v1kPIL7C9/wCeLdw8
41DgnsCwOyIfWt5nazJXqIY=
=0gis
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list