On Monday, 20 December 2021 at 11:58:58 UTC, Tejas wrote:
Ehh, it still fails; should've explicitly put the length of the array and the `extern (C)` in `main````d module demo; [ ... ] extern(C) /+added this because you used -betterC+/ void main() { while (true) { mixin(add_char!'%'); mixin(add_char!'$'); } } ```
Thanks! A mixin is not necessary, it will do the same thing without it.