New __FILE_DIR__ trait?
Jonathan Marler via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 22 00:44:27 PDT 2016
On Friday, 22 July 2016 at 04:10:38 UTC, rikki cattermole wrote:
> On 22/07/2016 2:08 PM, Jonathan Marler wrote:
>> P.S. If you know of an existing solution to this problem
>> please let me
>> know.
>
> Temporary work around:
> Write a program that on calls to rdmd but before that it
> appends an enum called that, on after it removes it by
> shrinking the file.
Interesting solution. It definitely has a "hacky" feel but I
suppose it would work. I decided to take a stab at implementing
the feature and have a Pull Request here.
https://github.com/dlang/dmd/pull/5959
More information about the Digitalmars-d
mailing list