[Bug 153] New: Assertion failure :: template.c:2111
Thomas Kuehne
thomas-dloop at kuehne.cn
Wed May 24 09:30:58 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail at puremagic.com schrieb am 2006-05-23:
> template bar(T) {
> void foo() {}
> }
>
> alias bar!(long).foo foo;
> alias bar!(char).foo foo;
>
>
> void main() {
> foo!(long);
> }
>
> ----
>
> Yes, this code is invalid ;)
Added to DStress as
http://dstress.kuehne.cn/nocompile/a/alias_36_A.d
http://dstress.kuehne.cn/nocompile/a/alias_36_B.d
http://dstress.kuehne.cn/nocompile/a/alias_36_C.d
http://dstress.kuehne.cn/nocompile/a/alias_36_D.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFEdDvo3w+/yD4P9tIRAmP4AKCRVWoFLKAwcHIan4aOYD1mMbTzIQCePLQH
KNhUNjCKR4XRwGS9ovLQxCs=
=JQ5w
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list