www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - __traits(position,symbol) to get the file:line:column:index of a

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.
Jun 12 2014