On Sunday, 17 April 2016 at 21:59:38 UTC, Timon Gehr wrote:
On 17.04.2016 23:49, Bauss wrote:
On Sunday, 17 April 2016 at 21:23:58 UTC, Timon Gehr wrote:
mixin(generate());
pragma(msg,generate());
That's not a solution to the problem, because you will be
printing ALL
mixins and not just the ones causing compilation errors.
Obviously you'll insert this specifically for the mixin that
causes the compilation error.
I don't think you understand the issue. It's the same mixin but
with different parameters for the generation, thus this is not
possible, because you don't know which one of the exact generated
ones is the issue,
Like I also said this does not apply to normal mixins but usually
very big mixins composited of multiple mixins and template mixins.