Skip to content

Followup to addition of apply #6390

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

Merged
merged 2 commits into from
Mar 31, 2018
Merged

Followup to addition of apply #6390

merged 2 commits into from
Mar 31, 2018

Conversation

andralex
Copy link
Member

  • inline code words easiest as backticks
  • prefer https to http
  • apply should not be "opinionated" about value vs reference, just transparently pass arguments through

* inline code words easiest as backticks
* prefer https to http
* apply should not be "opinionated" about value vs reference, just transparently pass arguments through
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @andralex!

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.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + phobos#6390"

@andralex
Copy link
Member Author

see also #6182
cc @FeepingCreature

@andralex
Copy link
Member Author

CI shouldn't fail... cc @MartinNowak

@wilzbach
Copy link
Member

Windows failure: braddr/d-tester#71

The segfault when building dub is a "new" one.

When called on a $(D Nullable), $(D apply) will unpack the value contained in the $(D Nullable),
pass it to the function you provide and wrap the result in another $(D Nullable) (if necessary).
If the Nullable is null, $(D apply) will return null itself.
When called on a `Nullable`, `apply` will unpack the value contained in the `Nullable`,
Copy link
Member

@wilzbach wilzbach Mar 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should continue the automation alternative here. At the moment we only converted std.algorithm automatically (see #5970)

-> #6391

@wilzbach
Copy link
Member

Fix for the Project Tester incoming -> dlang/ci#189
I can't do much about auto-tester sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants