May 22, 2005
This code fails compilation on DMD 0.125 with the error "class <module>.C interface function I.m isn't implemented"; it should work.

    interface S
    {
    }

    interface I
    {
        void m (SList);
    }

    alias S [] SList;

    class C : I
    {
        void m (SList o) { }
    }

    void main ()
    {
        new C;
    }

Moving the alias above interface I corrects the problem.  I can work around the problem doing this temporarily, but this is from automatically-generated code.
June 01, 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Burton Radons schrieb am Sun, 22 May 2005 11:19:34 -0700:
> This code fails compilation on DMD 0.125 with the error "class
><module>.C interface function I.m isn't implemented"; it should work.
>
>      interface S
>      {
>      }
>
>      interface I
>      {
>          void m (SList);
>      }
>
>      alias S [] SList;
>
>      class C : I
>      {
>          void m (SList o) { }
>      }
>
>      void main ()
>      {
>          new C;
>      }
>
> Moving the alias above interface I corrects the problem.  I can work around the problem doing this temporarily, but this is from automatically-generated code.

Added to DStress as http://dstress.kuehne.cn/run/a/alias_24_A.d http://dstress.kuehne.cn/run/a/alias_24_B.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFCncIt3w+/yD4P9tIRAma4AKChSY5zY4blTq4MidButwPnZdTbAQCg0Pr2
4kI1Q6ktogbtvqRX7JaWHc8=
=UVj5
-----END PGP SIGNATURE-----