From 00aba083080d040651abebec4210668a192ac602 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Thu, 8 Feb 2018 11:11:21 +0100 Subject: [PATCH] Fix REF1 to behave analogous to the other REF macros REF1 is currently only used once in entire DRuntime and Phobos, so maybe a special OBJECTREF macro would have been better? Anyhow, have a look at the only use of `REF1` to understand the motivation for this PR: https://dlang.org/phobos/std_file.html#.thisExePath Also there are three other PRs being blocked on this: - https://github.com/dlang/dmd/pull/7342 - https://github.com/dlang/druntime/pull/2082 - https://github.com/dlang/phobos/pull/6140 --- dlang.org.ddoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlang.org.ddoc b/dlang.org.ddoc index 8ba0e8b3c7..03d494123a 100644 --- a/dlang.org.ddoc +++ b/dlang.org.ddoc @@ -365,7 +365,7 @@ $(COMMENT (the phobos path can be different, of course). ) REF=$(D $2$(DOT_PREFIXED_SKIP $+, $1)) -REF1=$(D $2) +REF1=$(D $1) _= $(COMMENT