Thread overview
interface A base class is forward referenced by B
Mar 20, 2005
Tom S
Mar 20, 2005
Walter
Mar 22, 2005
Thomas Kuehne
March 20, 2005
// 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
"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
-----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-----