__traits(position,symbol) to get the file:line:column:index of a symbol (module,unittest etc)

Timothee Cour via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 12 21:56:52 PDT 2014


Wouldn't that be nice?
it's all known at CT so why not expose it
among other things it'd allow proper association of modules to files in
stacktraces (sometimes this is impossible / ambiguous), custom user defined
error messages involving lambdas, printing unittest lines etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140612/52639d1c/attachment.html>


More information about the Digitalmars-d-learn mailing list