https://issues.dlang.org/show_bug.cgi?id=21905
Basile-z <b2.t...@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=21543 --- Comment #2 from Basile-z <b2.t...@gmx.com> --- the loop is fixed with the most recent versions but it seems that valid code get rejected: --- struct Conv { StaticIterable b; alias b this; } struct StaticIterable { static Conv b; alias b this; } void each(ref StaticIterable r) { return ; } void main() { StaticIterable s; each(s); } --- --