Convenient debug printing

Robert M. Münch robert.muench at saphirion.com
Sun Nov 17 17:27:26 UTC 2019


On 2019-02-02 14:58:42 +0000, ezneh said:

> On Friday, 1 February 2019 at 15:49:24 UTC, Per Nordlöw wrote:
>> [...]
> 
> Alright, after quite some work I finally managed to do the following 
> code printing also nested variable names from classes & structs. I am 
> not sure it's quite the same as the Rust AST macro for that, but I 
> guess it's still interesting:
> ...

This looks great, but I get:

	Error: value of this is not known at compile time

for the static foreach() line in dbgImpl. So, wondering what I'm doing wrong...

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d mailing list