Post-mixin-expansion source output

Iakh via Digitalmars-d digitalmars-d at puremagic.com
Sun May 8 05:15:57 PDT 2016


On Sunday, 8 May 2016 at 10:24:12 UTC, Mithun Hunsur wrote:
> Hi all,
>
> I was discussing this with Stefan Koch and a few other people 
> at DConf - would it be possible to have a compiler switch for 
> outputting the complete source file after the mixins have been 
> expanded, similar to gcc -E?

I think it would be better to have mixin-dump file with all mixins
printed into it and references set to this file. So debug info
could point to some "real" source. But I didn't do any 
investigation
how to implement it.


More information about the Digitalmars-d mailing list