Summary: An access violation within complicated inheritance of
                    interface and class
           Product: D
           Version: 2.025
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

interface IA{void func();}
interface IB{}
interface IC: IB, IA{}
interface ID: IC{}
class CA: IC{void func(){}}
class CB: CA, ID{void func(){}}
void main()
  ID c = new CB;
  c.func(); //object.Error: Access Violation

But the Access Violation does not occur if interface ID was defined in this

interface ID: IC{void func();}


Reply via email to