digitalmars.D - Error : circular inheritance of interface
- Shawn Liu (5/5) May 04 2005 I built my project successfully with DMD 0.121.
- Shawn Liu (2/8) May 04 2005
- zwang (5/17) May 04 2005 Something like reported here:
- zwang (2/22) May 04 2005 Confirmed. A circular inheritance detection bug was introduced in dmd 0...
- Stewart Gordon (8/17) May 05 2005 Well, we still need a testcase for it!
- zwang (9/32) May 05 2005 Are you referring to the snippet below?
- Stewart Gordon (9/16) May 05 2005 No. I was referring to the one that you posted the URL to, of course.
I built my project successfully with DMD 0.121. When I built it with DMD 0.122, got an Error : "circular inheritance of interface". What does this mean? - Shawn Liu
May 04 2005
I searched the forum and got nothing. "Shawn Liu" <liuxuhong.cn gmail.com> said :d5c57l$94k$1 digitaldaemon.com...I built my project successfully with DMD 0.121. When I built it with DMD 0.122, got an Error : "circular inheritance of interface". What does this mean? - Shawn Liu
May 04 2005
Shawn Liu wrote:I built my project successfully with DMD 0.121. When I built it with DMD 0.122, got an Error : "circular inheritance of interface". What does this mean? - Shawn LiuSomething like reported here: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/3757 BTW, would you post the code sample that dmd 0.122 failed to compile? Probably the circular interface inheritance bug was not fixed correctly.
May 04 2005
zwang wrote:Shawn Liu wrote:Confirmed. A circular inheritance detection bug was introduced in dmd 0.122.I built my project successfully with DMD 0.121. When I built it with DMD 0.122, got an Error : "circular inheritance of interface". What does this mean? - Shawn LiuSomething like reported here: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/3757 BTW, would you post the code sample that dmd 0.122 failed to compile? Probably the circular interface inheritance bug was not fixed correctly.
May 04 2005
zwang wrote:zwang wrote:<snip>Well, we still need a testcase for it! The one you gave is one that indeed shouldn't compile. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.Something like reported here: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/3757 BTW, would you post the code sample that dmd 0.122 failed to compile? Probably the circular interface inheritance bug was not fixed correctly.Confirmed. A circular inheritance detection bug was introduced in dmd 0.122.
May 05 2005
Stewart Gordon wrote:zwang wrote:Are you referring to the snippet below? <code> interface A:B{} interface B:C{} interface C:D{} interface D{} </code> Why shouldn't it compile?zwang wrote:<snip>Well, we still need a testcase for it! The one you gave is one that indeed shouldn't compile. Stewart.Something like reported here: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/3757 BTW, would you post the code sample that dmd 0.122 failed to compile? Probably the circular interface inheritance bug was not fixed correctly.Confirmed. A circular inheritance detection bug was introduced in dmd 0.122.
May 05 2005
zwang wrote: <snip>Are you referring to the snippet below? <code> interface A:B{} interface B:C{} interface C:D{} interface D{} </code>No. I was referring to the one that you posted the URL to, of course. I hadn't discovered the snippet above at the time. That indeed should compile. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
May 05 2005