digitalmars.D.bugs - incorrect deprecated error
- Carlos Santander (14/14) May 16 2006 This code:
- Thomas Kuehne (14/26) May 19 2006 -----BEGIN PGP SIGNED MESSAGE-----
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
--
Carlos Santander Bernal
May 16 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-----
May 19 2006








Thomas Kuehne <thomas-dloop kuehne.cn>