On Friday, 24 January 2020 at 12:22:49 UTC, Dennis wrote:
You can pass the -X flag to dmd, which makes it generate a .json file describing the compiled file.
Great, that's what I was looking for - although it's also good to know the __traits approach!
Thanks!