On Monday, 7 January 2019 at 13:35:31 UTC, H. S. Teoh wrote:
[string mixins make] it hard to debug (esp. if the codegen isn't your own code) - (4) any compile errors are by necessity obscure
because there isn't a concrete file and line number to refer to;
to get to the locus of the problem further effort is required to extract the generated code string (after figuring out which string is the relevant one!) and then dereference the line number.

This is no longer (as) true, try using -mixin=filename. It was made exactly
for this sort of thing.

Reply via email to