Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix REF1 to behave analogous to the other REF macros #2191

Merged
merged 1 commit into from Feb 9, 2018

Conversation

wilzbach
Copy link
Member

@wilzbach wilzbach commented Feb 8, 2018

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:

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:

- dlang/dmd#7342
- dlang/druntime#2082
- dlang/phobos#6140
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @wilzbach!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

@wilzbach
Copy link
Member Author

wilzbach commented Feb 9, 2018

Ping @CyberShadow or others - as the Phobos PR has already been merged, this leaves the current preview std.process in a suboptimal state, e.g.

https://dlang.org/phobos-prerelease/std_process.html#.ProcessPipes.stdin

(or check the diff)

@dlang-bot dlang-bot merged commit ca43f42 into dlang:master Feb 9, 2018
@wilzbach wilzbach deleted the ref1 branch July 18, 2018 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants