[Issue 440] New: dmd.170 fails to mark final methods as implementations of abstract ones

Thomas Kuehne thomas-dloop at kuehne.cn
Sat Oct 21 06:37:28 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-10-17:
> http://d.puremagic.com/issues/show_bug.cgi?id=440

> interface Foo {
>         void foo();
> }
>
> class Bar : Foo {
>         final void foo() {
>         }
> }
>
> void main() {
>         new Bar;
> }
>
>
> // final170.d(5): class final170.Bar interface function Foo.foo isn't
> implemented

Added to DStress as
http://dstress.kuehne.cn/run/f/final_12_A.d
http://dstress.kuehne.cn/run/f/final_12_B.d
http://dstress.kuehne.cn/nocompile/f/final_12_C.d

Thomas


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

iD8DBQFFOiRULK5blCcjpWoRAvzSAJ0aiNXrZKVHfvE7NiWQZa9XZGTZEgCfTelZ
4ic1ckmxN6So6ERdma7PV4E=
=T/kO
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list