Thread overview
Templates/Mixin - Is there a way to see expanded source code equivalent?
Aug 25
monkyyy
August 25

Is there a way to see expanded templates/mixins as the D compile expands it?
This would be nice for pedagogical purposes.

August 25
On 25/08/2025 2:36 PM, Brother Bill wrote:
> Is there a way to see expanded templates/mixins as the D compile expands it?
> This would be nice for pedagogical purposes.

-mixin=<filename> expand and save mixins to file specified by <filename>
August 25

On Monday, 25 August 2025 at 02:36:01 UTC, Brother Bill wrote:

>

also just factor it out and unit test it if its complex