← Back to index
|
Original Bugzilla link
Bug 6013 – private ignored for aliases
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-05-15T18:20:00Z
Last change time
2015-06-09T05:15:16Z
Keywords
accepts-invalid
Assigned to
code
Creator
issues.dlang
Comments
Comment #0
by issues.dlang — 2011-05-15T18:20:05Z
--------- 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.
Comment #1
by github-bugzilla — 2012-01-23T02:15:15Z
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
Comment #2
by github-bugzilla — 2012-01-23T10:05:54Z
Commit pushed to
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/d4392ab38c33d17566a18de0c8416aa7c72b3a10
fix issue 6013 for D1