digitalmars.D.bugs - [Bug 153] New: Assertion failure :: template.c:2111
- d-bugmail puremagic.com (25/25) May 23 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=153
- Thomas Kuehne (14/24) May 24 2006 -----BEGIN PGP SIGNED MESSAGE-----
- d-bugmail puremagic.com (9/9) May 25 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=153
http://d.puremagic.com/bugzilla/show_bug.cgi?id=153
Summary: Assertion failure :: template.c:2111
Product: D
Version: 0.157
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: h3r3tic mat.uni.torun.pl
template bar(T) {
void foo() {}
}
alias bar!(long).foo foo;
alias bar!(char).foo foo;
void main() {
foo!(long);
}
----
Yes, this code is invalid ;)
Thanks
--
May 23 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail 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-----
May 24 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=153
bugzilla digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Fixed 0.158
--
May 25 2006









Thomas Kuehne <thomas-dloop kuehne.cn> 