Bug 306 – dmd 165 breaks existing code

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-08-23T00:25:00Z
Last change time
2014-02-15T13:21:14Z
Assigned to
bugzilla
Creator
someidiot

Comments

Comment #0 by someidiot — 2006-08-23T00:25:23Z
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
Comment #1 by bugzilla — 2006-09-02T19:46:47Z
Fixed 0.166
Comment #2 by thomas-dloop — 2006-09-03T04:30:29Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] 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-----