Thread overview | |||||
---|---|---|---|---|---|
|
March 20, 2005 interface A base class is forward referenced by B | ||||
---|---|---|---|---|
| ||||
// main.d
interface Foo
{
}
interface Bar : Foo
{
}
class Baz : Bar
{
}
void main()
{
Bar b = new Baz;
cast(Object)b;
}
Error: interface main.Bar base class is forward referenced by Object
Appeared in DMD.119; WinXP
--
Tomasz Stachowiak /+ a.k.a. h3r3tic +/
|
March 20, 2005 Re: interface A base class is forward referenced by B | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tom S | "Tom S" <h3r3tic@remove.mat.uni.torun.pl> wrote in message news:d1kc3u$ubc$1@digitaldaemon.com... > Error: interface main.Bar base class is forward referenced by Object Appeared in DMD.119; WinXP Sorry about that. Fix will go out in .120. |
March 22, 2005 Re: interface A base class is forward referenced by B | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tom S | -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom S schrieb am Sun, 20 Mar 2005 18:32:47 +0100: > // main.d > > interface Foo > { > } > > interface Bar : Foo > { > } > > class Baz : Bar > { > } > > void main() > { > Bar b = new Baz; > cast(Object)b; > } > > > Error: interface main.Bar base class is forward referenced by Object Appeared in DMD.119; WinXP Added to DStress as http://dstress.kuehne.cn/run/interface_12.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCP8V63w+/yD4P9tIRAivdAJ0arxZPYCIKrA8IiPUNILcyTKsr/ACdEBGa 3M2W3H76UnkqdnJFBOrrldE= =Y/Dl -----END PGP SIGNATURE----- |
Copyright © 1999-2021 by the D Language Foundation