Re: ICE with custom map template.

2017-09-17 Thread Elronnd via D.gnu
See also the bugzilla (https://issues.dlang.org/show_bug.cgi?id=17836).

ICE with custom map template.

2017-09-17 Thread Elronnd via D.gnu
I get an ICE with the following code: void main() { import std.stdio; template mmap(alias fun) { void mmap(T...)(T list) { foreach (item; list) { fun(item); } }