On Tuesday, 10 June 2014 at 20:58:41 UTC, Nordlöw wrote:
Is there a way to, programatically (trait), lookup the source file and position of a user defined type either dynamically or, even better, statically?
I don't believe this is possible. Perhaps you would be able to generate the .json file and use that at runtime, but I don't know if even that will handle situations like using mixins.