--------- module a; import b; void main() { bar(); } --------- module b; void foo() { } private alias foo bar; --------- This code compiles just fine. It shouldn't. bar is a private alias.
Commit pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ac75ddc83d5cffd913fbfd6f2bbb9cbe91364479 Merge pull request #636 from dawgfoto/fix6013 Issue 6013 - private ignored for aliases
Commit pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/d4392ab38c33d17566a18de0c8416aa7c72b3a10 fix issue 6013 for D1
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル