https://d.puremagic.com/issues/show_bug.cgi?id=8625
yebblies <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid CC| |[email protected] Summary|foreach doesn't do implicit |foreach doesn't do implicit |conversions on associative |conversions with opApply |arrays and opApply | --- Comment #1 from yebblies <[email protected]> 2013-11-24 15:31:10 EST --- This case still doesn't work void main() { static struct OpApply { int opApply(int delegate(int)) {return 0;} } foreach(long x; OpApply()) {} // fails // test.d(10): Error: cannot uniquely infer foreach argument types } The first was issue 9212 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
