Any way to get file/line for symbol declaration?
Sebastiaan Koppe
mail at skoppe.eu
Sun Jun 16 14:07:45 UTC 2019
On Monday, 10 June 2019 at 01:04:42 UTC, Nicholas Wilson wrote:
> On Sunday, 9 June 2019 at 22:17:08 UTC, Manu wrote:
>> I'm thinking something like: __traits(getLoc, symbol) ==
>> AliasSeq!(file, line, column) for the declaration of the symbol
>> specified.
>
> https://github.com/dlang/dmd/pull/10013
This is awesome, didn't saw the pr before. I am going to use it
to create css sourcemaps.
More information about the Digitalmars-d
mailing list