[Issue 5422] New: "Module is private" error with public/private overloaded functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 7 06:56:23 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5422

           Summary: "Module is private" error with public/private
                    overloaded functions
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: eatingstaples at gmail.com


--- Comment #0 from eatingstaples at gmail.com 2011-01-07 06:54:06 PST ---
Created an attachment (id=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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list