On 2019-06-10 03:04, Nicholas Wilson wrote: > https://github.com/dlang/dmd/pull/10013 Seems we should have a form of Compiler object to query this information and a lot more. Something like the Context parameter of AST macros [1]. [1] https://wiki.dlang.org/DIP50#The_Context_Parameter -- /Jacob Carlborg