Bug 220 – ICE with template and mangleof

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P4
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-06-23T07:17:00Z
Last change time
2014-02-15T13:20:41Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
clugdbug

Comments

Comment #0 by clugdbug — 2006-06-23T07:17:14Z
Assertion failure: 'deco' on line 536 in file 'mtype.c' Tested with DMD-Windows 0.160 and 0.161. Very easy workaround (just add parentheses). --- template echidna(char[] str) { const int echidna = 1; } // Must be 'typedef', can be any function or delegate typedef int function (int) platypus; // If you uncomment this next line, _both_ asserts will compile! //static assert( echidna!((platypus).mangleof) == 1); static assert( echidna!(platypus.mangleof) == 1);
Comment #1 by clugdbug — 2006-08-24T07:58:57Z
This appears to have been sliently fixed - at least in works in DMD 0.165 Windows. Probably should be in DStress, though, in case it reappears.
Comment #2 by thomas-dloop — 2006-08-24T09:55:15Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] schrieb am 2006-08-24: > http://d.puremagic.com/issues/show_bug.cgi?id=220 > This appears to have been sliently fixed - at least in works in DMD 0.165 > Windows. > Probably should be in DStress, though, in case it reappears. Strange, I thougth bugzilla integrated messages posted in the news group? news:[email protected] http://lists.puremagic.com/pipermail/digitalmars-d-bugs/2006-June/001392.html Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFE7coaLK5blCcjpWoRArfFAKCjAw6eAAbQhMXjhBmQQHWfapLwtgCaAowx Uw4vIC5eEMEXi4KDHk+wcP4= =k/4G -----END PGP SIGNATURE-----
Comment #3 by braddr — 2006-08-24T11:42:50Z
Oskar Linde wrote: > Thomas Kuehne wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> [email protected] schrieb am 2006-08-24: >> >>> http://d.puremagic.com/issues/show_bug.cgi?id=220 >>> This appears to have been sliently fixed - at least in works in DMD >>> 0.165 >>> Windows. >>> Probably should be in DStress, though, in case it reappears. >> >> Strange, I thougth bugzilla integrated messages posted in the news >> group? >> > > It used to do so. I reported this as issue 243. Not sure anyone > responsible noticed though. > > http://d.puremagic.com/issues/show_bug.cgi?id=243 > > /Oskar It does, but only if the message comes from someone with a registered email address. If the address doesn't exist, the msg isn't captured. Later, Brad
Comment #4 by thomas-dloop — 2006-08-25T00:06:17Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brad Roberts schrieb am 2006-08-24: > Oskar Linde wrote: >> Thomas Kuehne wrote: >>> Strange, I thougth bugzilla integrated messages posted in the news >>> group? >>> >> >> It used to do so. I reported this as issue 243. Not sure anyone >> responsible noticed though. >> >> http://d.puremagic.com/issues/show_bug.cgi?id=243 > It does, but only if the message comes from someone with a registered > email address. If the address doesn't exist, the msg isn't captured. Header extract from the message under investigation: > Message-ID: <[email protected]> > From: Thomas Kuehne <[email protected]> > Newsgroups: digitalmars.D.bugs > Subject: Re: [Issue 220] New: ICE with template and mangleof > References: <[email protected]/issues/> When I file a new bug report, buzilla uses the same address as above for the "ReportedBy" field. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFE7hxSLK5blCcjpWoRAjQ6AJ4q2EwOFLMGKhtNgdhWFHSXA04QgwCffcFv /xddd+Ji6PeX8Vngz6LM9O8= =s4K4 -----END PGP SIGNATURE-----