digitalmars.D - Error : circular inheritance of interface
- "Shawn Liu" <liuxuhong.cn gmail.com> May 04 2005
- "Shawn Liu" <liuxuhong.cn gmail.com> May 04 2005
- zwang <nehzgnaw gmail.com> May 04 2005
- zwang <nehzgnaw gmail.com> May 04 2005
- Stewart Gordon <smjg_1998 yahoo.com> May 05 2005
- zwang <nehzgnaw gmail.com> May 05 2005
- Stewart Gordon <smjg_1998 yahoo.com> May 05 2005
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 Liu
Something like reported here: 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: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
Something like reported here: 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 04 2005
zwang wrote:zwang wrote:
Something like reported here: 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.
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.
May 05 2005
Stewart Gordon wrote:zwang wrote:zwang wrote:
<snip>Something like reported here: 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.
Well, we still need a testcase for it! The one you gave is one that indeed shouldn't compile. Stewart.
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?
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









"Shawn Liu" <liuxuhong.cn gmail.com> 