digitalmars.D.bugs - valid interface hierarchy rejected by dmd 0.122
- zwang (8/8) May 04 2005 dmd 0.122 reports: "Error: circular inheritance of interface"
- zwang (8/17) May 04 2005 A similar test case:
- Thomas Kuehne (12/29) May 06 2005 -----BEGIN PGP SIGNED MESSAGE-----
- Ben Hinkle (13/21) May 08 2005 the following also fails to compile with circular inheritance error:
- Walter (3/5) May 08 2005 Right. But I have it fixed anyway in .123, which I hope to post soon.
- Peter Mackay (13/23) May 08 2005 Cool, that's great to hear. :-)
- Walter (3/5) May 09 2005 That's getting better over time.
dmd 0.122 reports: "Error: circular inheritance of interface" while there is no circular inheritance in the following code: <code> interface A:B{} interface B:C{} interface C:D{} interface D{} </code>
May 04 2005
zwang wrote:dmd 0.122 reports: "Error: circular inheritance of interface" while there is no circular inheritance in the following code: <code> interface A:B{} interface B:C{} interface C:D{} interface D{} </code>A similar test case: <code> class A:B{} interface B:C{} interface C:D{} interface D{} </code>
May 04 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 zwang schrieb am Thu, 05 May 2005 12:37:59 +0800:zwang wrote:Added to DStress as http://dstress.kuehne.cn/compile/interface_20.d http://dstress.kuehne.cn/compile/interface_21.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCezYu3w+/yD4P9tIRAiYZAJ4tr7YkoHxPIIPDeJOIUnnZ/7YAGwCfZxzy XWe+qFMlTupcMxp/6+VNQzk= =uZx5 -----END PGP SIGNATURE-----dmd 0.122 reports: "Error: circular inheritance of interface" while there is no circular inheritance in the following code: <code> interface A:B{} interface B:C{} interface C:D{} interface D{} </code>A similar test case: <code> class A:B{} interface B:C{} interface C:D{} interface D{} </code>
May 06 2005
"zwang" <nehzgnaw gmail.com> wrote in message news:d5c7i4$c4i$1 digitaldaemon.com...dmd 0.122 reports: "Error: circular inheritance of interface" while there is no circular inheritance in the following code: <code> interface A:B{} interface B:C{} interface C:D{} interface D{} </code>the following also fails to compile with circular inheritance error: interface A{} interface B:A{} interface C:B{} class Foo:C{} int main() { Foo x = new Foo; return 0; } so it looks like changing the order of defining the interfaces doesn't fix the issue.
May 08 2005
"Ben Hinkle" <ben.hinkle gmail.com> wrote in message news:d5lh1j$22hp$1 digitaldaemon.com...so it looks like changing the order of defining the interfaces doesn't fix the issue.Right. But I have it fixed anyway in .123, which I hope to post soon.
May 08 2005
Walter wrote:"Ben Hinkle" <ben.hinkle gmail.com> wrote in message news:d5lh1j$22hp$1 digitaldaemon.com...Cool, that's great to hear. :-) Sorry to be a pest, but would it be possible to get more information in this kind of error message? At the moment, I just get this: Error: circular inheritance of interface --- errorlevel 1 Which doesn't tell me where I went wrong. It's okayish because I know where I've been working recently, but I'd like to double click on the error and have my IDE jump to my problem, or for it to tell me which interfaces caused the problems so I could hunt them down myself. There are a few more errors I've encountered, which don't print file(line) formatted error messages. Peterso it looks like changing the order of defining the interfaces doesn't fix the issue.Right. But I have it fixed anyway in .123, which I hope to post soon.
May 08 2005
"Peter Mackay" <a_pointy_stick.NoJunkMail yahoo.co.uk> wrote in message news:d5m8vr$2mtr$1 digitaldaemon.com...There are a few more errors I've encountered, which don't print file(line) formatted error messages.That's getting better over time.
May 09 2005