On Monday, 26 November 2018 at 13:50:13 UTC, Eko Wahyudin wrote: > seems my problem is i use GDC, i got this error > > error: basic type expected, not foreach. The common versions of gdc don't support static foreach, but plain foreach should work there the same way in this context. So just remove the word "static" and try it then.