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

[dmd-cxx] fix Issue 21295: Add test for symbol lookup/resolve in compilation broken #11831

Merged
merged 2 commits into from
Oct 11, 2020

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Oct 7, 2020

Strictly, this is related to good old issue 10378

In dmd mainline, this went from compilable -> fail_compilation due to an indirect bug fix.

In dmd-cxx, we're still in the deprecation transition phase for bug 10378, so we use -de is used in the test instead.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Auto-close Bugzilla Severity Description
21001 normal Private alias becomes public if used before declaration
21295 regression [REG] Symbol lookup/resolve in compilation broken in D

Testing this PR locally

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

dub run digger -- build "dmd-cxx + dmd#11831"

@ibuclaw ibuclaw merged commit 70aabfb into dlang:dmd-cxx Oct 11, 2020
@ibuclaw ibuclaw deleted the dmd-cxx-issue21295 branch October 11, 2020 20:29
sebhub pushed a commit to RTEMS/gnu-mirror-gcc that referenced this pull request Oct 12, 2020
Fixes a symbol resolver bug where a private alias becomes public if used
before its declaration.

Reviewed-on: dlang/dmd#11831

gcc/d/ChangeLog:

	* dmd/MERGE: Merge upstream dmd 70aabfb51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants