[Issue 4278] allow inlining of super calls (undo limitations of bug3500's fix)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 29 14:53:57 PDT 2010


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2010-08-29 14:53:43 PDT ---
This patch produced a regression (from DFL):

---------
// main.d
import other;

class Foo : OtherModuleClass
{
        override void foo()
        {
                super.foo();
        }
}

void main()
{
        new Foo();
}

-----------
// other.d
class OtherModuleClass
{
        protected void foo()
        {
        }
}
-----------


> >dmd main other
main.d(8): Error: class other.OtherModuleClass member foo is not accessible

Reported by SHOO.

-- 
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