[Issue 7525] Broken return type inference for delegate returns
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 22 13:59:03 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7525
--- Comment #1 from siegelords_abode at yahoo.com 2012-02-22 13:59:01 PST ---
A few more examples that don't work in 2.058 but work in 2.057:
int delegate() a = {return 1U;};
uint delegate() b = {return 1;};
float delegate() c = {return 1.0;};
double delegate() d = {return 1.0f;};
Note that both compilers allow implicit conversions between those basic type
pairs.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list