[Issue 660] New: Incorrect protection error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 6 14:42:49 PST 2006


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

           Summary: Incorrect protection error message
           Product: GDC
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: csantander619 at gmail.com


(sorry for not finding a better summary)

//-------------------
class A
{
        void foo () {}
        private
        static void foo (int i) {}
}

class B
{
        void foo (int x)
        {
                A.foo (x);
        }
}
//-------------------
$ gdmd -c test1.d
test1.d:12: class test1.B member foo is not accessible
//-------------------


-- 




More information about the D.gnu mailing list