Skip to content

Turn deprecation into error for privately imported symbols#9393

Merged
dlang-bot merged 2 commits intodlang:masterfrom
RazvanN7:Deperror_visibility
Mar 23, 2019
Merged

Turn deprecation into error for privately imported symbols#9393
dlang-bot merged 2 commits intodlang:masterfrom
RazvanN7:Deperror_visibility

Conversation

@RazvanN7
Copy link
Copy Markdown
Contributor

No description provided.

@dlang-bot
Copy link
Copy Markdown
Contributor

Thanks for your pull request and interest in making D better, @RazvanN7! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the annotated coverage diff directly on GitHub with CodeCov's browser extension
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

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 + dmd#9393"

@jacob-carlborg
Copy link
Copy Markdown
Contributor

To we really want to do this before all __traits has been loosened, #9325?

@RazvanN7
Copy link
Copy Markdown
Contributor Author

RazvanN7 commented Feb 27, 2019

To we really want to do this before all __traits has been loosened, #9325?

Looking at the code in #9325 , it seems that it should not be affected by this PR.

@jacob-carlborg
Copy link
Copy Markdown
Contributor

jacob-carlborg commented Feb 27, 2019

Perhaps it's time to notify the owners of the projects that fail to build in buildkit, or start making PRs to those projects.

@wilzbach wilzbach added the Review:Needs Changelog A changelog entry needs to be added to /changelog label Feb 28, 2019
@wilzbach
Copy link
Copy Markdown
Contributor

Needs a short changelog entry, s.t. it's easier to for users to find potential problems when upgrading and knowing in which version the change was introduced.

@RazvanN7
Copy link
Copy Markdown
Contributor Author

RazvanN7 commented Mar 1, 2019

So... I've made PRs to fix all the failing projects (or dependencies of failing projects); now we have to wait for the authors to merge and push new tags

@wilzbach
Copy link
Copy Markdown
Contributor

wilzbach commented Mar 1, 2019

we have to wait for the authors to merge and push new tags

FYI: if they don't respond within a reasonable time frame (typically three days or so), we can remove these projects from buildkite. We have done this before for semi-dead projects.

@wilzbach
Copy link
Copy Markdown
Contributor

Ocean just released a new version yesterday with @razvan's fix, so this is only missing a changelog entry to be good to go.

@rainers
Copy link
Copy Markdown
Member

rainers commented Mar 23, 2019

There are a couple of more places where a similar deprecation is emitted. grep for is not visible from module.

@RazvanN7 RazvanN7 force-pushed the Deperror_visibility branch from ca416f1 to 0974df2 Compare March 23, 2019 10:29
@RazvanN7 RazvanN7 force-pushed the Deperror_visibility branch from 0974df2 to 79d098f Compare March 23, 2019 10:30
@RazvanN7
Copy link
Copy Markdown
Contributor Author

Changelog entry added.

@jacob-carlborg
Copy link
Copy Markdown
Contributor

There are a couple of more places where a similar deprecation is emitted. grep for is not visible from module.

Yeah, I got 8 hits.

@RazvanN7
Copy link
Copy Markdown
Contributor Author

There are a couple of more places where a similar deprecation is emitted. grep for is not visible from module.

Those can be treated in subsequent PRs as they deprecate in slightly different situations.

@thewilsonator
Copy link
Copy Markdown
Contributor

thewilsonator commented Mar 23, 2019

There are a couple of more places where a similar deprecation is emitted. grep for is not visible from module.

Those can be treated in subsequent PRs as they deprecate in slightly different situations.

OK, lets not keep this waiting.

@thewilsonator thewilsonator added Merge:auto-merge and removed Review:Needs Changelog A changelog entry needs to be added to /changelog labels Mar 23, 2019
@dlang-bot dlang-bot merged commit 0b31767 into dlang:master Mar 23, 2019
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.

6 participants