Bug 5422 – "Module is private" error with public/private overloaded functions

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-01-07T06:54:00Z
Last change time
2012-02-12T09:08:06Z
Assigned to
nobody
Creator
eatingstaples

Attachments

IDFilenameSummaryContent-TypeSize
864foo.dCode declaring functions with and without the issue.application/octet-stream406

Comments

Comment #0 by eatingstaples — 2011-01-07T06:54:06Z
Created attachment 864 Code declaring functions with and without the issue. When functions are overloaded, with one accessible and the other not accessible, having the accessible one declared after the non-accessible one leads to errors when calling the accessible function.
Comment #1 by code — 2012-02-12T09:08:06Z
*** This issue has been marked as a duplicate of issue 3254 ***