Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
May 05, 2005 Error : circular inheritance of interface | ||||
---|---|---|---|---|
| ||||
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 05, 2005 Re: Error : circular inheritance of interface | ||||
---|---|---|---|---|
| ||||
Posted in reply to Shawn Liu | 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 05, 2005 Re: Error : circular inheritance of interface | ||||
---|---|---|---|---|
| ||||
Posted in reply to Shawn Liu | 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: 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 05, 2005 Re: Error : circular inheritance of interface | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang | 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:
> 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 Re: Error : circular inheritance of interface | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang | zwang wrote: > zwang wrote: <snip> >> 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. 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 Re: Error : circular inheritance of interface | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | Stewart Gordon wrote:
> zwang wrote:
>
>> zwang wrote:
>
> <snip>
>
>>> 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.
>
>
> 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 Re: Error : circular inheritance of interface | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang | 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. |
Copyright © 1999-2021 by the D Language Foundation