https://issues.dlang.org/show_bug.cgi?id=21209
Mathias LANG <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Mathias LANG <[email protected]> --- At first I thought it wasn't a bug because the type of `cs` is specified. However, after changing `foo` to: ``` void foo(T)(T cs) { foreach (c; cs) bar(c); } ``` The error persist. The strangest part is that not calling `bar` from the foreach makes the error go away. --
