incorrect deprecated error
Thomas Kuehne
thomas-dloop at kuehne.cn
Fri May 19 09:45:00 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Carlos Santander schrieb am 2006-05-17:
> This code:
>
> //-----------------------
> void baz() {}
> deprecated alias baz foo;
> void foo(int i) {}
>
> void main()
> {
> foo(4); // line 7
> }
> //-----------------------
>
> Produces this:
>
> test4.d:7: alias test4.foo is deprecated
Added to DStress as
http://dstress.kuehne.cn/run/d/deprecated_22_A.d
http://dstress.kuehne.cn/run/d/deprecated_22_B.d
http://dstress.kuehne.cn/nocompile/d/deprecated_22_C.d
http://dstress.kuehne.cn/nocompile/d/deprecated_22_D.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFEbcVg3w+/yD4P9tIRAiRiAJ0dr+TZcJTO8LljOeLpbh1hYUWuggCfbDMQ
i8HvbYeKxyitZoTRvgIZvvM=
=h6F3
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list