New __FILE_DIR__ trait?

Jonathan Marler via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 27 09:16:02 PDT 2016


On Wednesday, 27 July 2016 at 14:07:23 UTC, lkfsdg wrote:
> On Wednesday, 27 July 2016 at 13:59:23 UTC, Jonathan Marler 
> wrote:
>> On Friday, 22 July 2016 at 02:08:44 UTC, Jonathan Marler wrote:
>>> [...]
>>
>> For others who may see this thread, the __FULL_FILE_PATH__ 
>> special trait was added to the dmd compiler with this PR: 
>> https://github.com/dlang/dmd/pull/5959
>>
>> At the time of this post, the latest released version of D is 
>> 2.071.1, so this trait should be available on any release 
>> after that.
>
> Plz don't forget to propose a PR for the specifications too. 
> The serious way of doing things include this step.
>
> https://dlang.org/spec/lex.html
> https://github.com/dlang/dmd/blob/master/changelog.dd

Yes thank you for the reminder.  It's good to know that people 
understand the value of documentation.


More information about the Digitalmars-d mailing list