D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5422 - "Module is private" error with public/private overloaded functions
Summary: "Module is private" error with public/private overloaded functions
Status: RESOLVED DUPLICATE of issue 3254
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 06:54 UTC by eatingstaples
Modified: 2012-02-12 09:08 UTC (History)
1 user (show)

See Also:


Attachments
Code declaring functions with and without the issue. (406 bytes, application/octet-stream)
2011-01-07 06:54 UTC, eatingstaples
Details

Note You need to log in before you can comment on or make changes to this issue.
Description eatingstaples 2011-01-07 06:54:06 UTC
Created attachment 864 [details]
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 Martin Nowak 2012-02-12 09:08:06 UTC

*** This issue has been marked as a duplicate of issue 3254 ***