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
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= expand and save mixins to file specified by
Is there a way to see expanded templates/mixins as the D compile
expands it?
This would be nice for pedagogical purposes.
Ary Borenszweig Wrote:
> Paul D. Anderson wrote:
> > Paul D. Anderson Wrote:
> >
> >> Is there a way to see the source for a D program after the mixins and
> >> templates, etc., are expanded?
> >>
> >> I get occasional error messages saying I've got incompatible types, for
> >> example, but the
Paul D. Anderson wrote:
Paul D. Anderson Wrote:
Is there a way to see the source for a D program after the mixins and
templates, etc., are expanded?
I get occasional error messages saying I've got incompatible types, for
example, but the error message only makes sense when I mentally instant
Paul D. Anderson Wrote:
> Is there a way to see the source for a D program after the mixins and
> templates, etc., are expanded?
>
> I get occasional error messages saying I've got incompatible types, for
> example, but the error message only makes sense when I mentally instantiate a
> templat
BCS escribió:
Reply to Paul,
Is there a way to see the source for a D program after the mixins and
templates, etc., are expanded?
Descent has a "compile time view" that is supposed to do some of this.
If you are only looking at string mixins you can use pragma(msg, string)
to view the stri
Reply to Paul,
Is there a way to see the source for a D program after the mixins and
templates, etc., are expanded?
Descent has a "compile time view" that is supposed to do some of this.
If you are only looking at string mixins you can use pragma(msg, string)
to view the string
I get occ
Is there a way to see the source for a D program after the mixins and
templates, etc., are expanded?
I get occasional error messages saying I've got incompatible types, for
example, but the error message only makes sense when I mentally instantiate a
template. Is there a way to see this instant