d: Merge upstream dmd 70aabfb51
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 11 Oct 2020 20:20:43 +0000 (22:20 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Mon, 12 Oct 2020 10:14:47 +0000 (12:14 +0200)
commit893f9543bff19aa3be07fff05bf1abf6a0b8dd56
treea135603beb9eeb81b83fc89da164a22bdf0ba2aa
parent19f6b41a3a12c67ccbc51c5b729954c4ccaf1176
d: Merge upstream dmd 70aabfb51

Fixes a symbol resolver bug where a private alias becomes public if used
before its declaration.

Reviewed-on: https://github.com/dlang/dmd/pull/11831

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd 70aabfb51
gcc/d/dmd/MERGE
gcc/d/dmd/declaration.c
gcc/testsuite/gdc.test/fail_compilation/fail21001.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/imports/fail21001b.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/imports/issue21295ast_node.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/imports/issue21295astcodegen.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/imports/issue21295dtemplate.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/imports/issue21295visitor.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/issue21295.d [new file with mode: 0644]