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 way.
interface ID: IC{void func();}
Comment #1 by schveiguy — 2009-03-24T12:56:43Z
Probably related to Bug 2061, but I can't tell.
Comment #2 by rsinfu — 2009-05-11T03:05:12Z
Created attachment 362
fix
It's just a typo :)
Comment #3 by rsinfu — 2009-05-14T20:43:47Z
> Probably related to Bug 2061, but I can't tell.
Certainly a duplicate of 2061. The patch also fixes it.
Comment #4 by rsinfu — 2009-05-14T20:50:40Z
*** This issue has been marked as a duplicate of issue 2061 ***