Expanded source code

Ary Borenszweig ary at esperanto.org.ar
Wed Jun 17 18:01:30 PDT 2009


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 string
> 
>> 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.

You can also debug the template instantiation with Descent.

But only for D1, aw...


More information about the Digitalmars-d-learn mailing list