Jump to page: 1 2
Thread overview
[Issue 220] New: ICE with template and mangleof
Jun 23, 2006
d-bugmail
Jun 29, 2006
Thomas Kuehne
Aug 24, 2006
d-bugmail
Aug 24, 2006
Thomas Kuehne
Aug 24, 2006
Oskar Linde
Aug 24, 2006
Brad Roberts
Aug 25, 2006
Thomas Kuehne
Re: buzilla auto-adding comments
Aug 25, 2006
Brad Roberts
Aug 25, 2006
Thomas Kuehne
Aug 25, 2006
Brad Roberts
Aug 26, 2006
Thomas Kuehne
Aug 25, 2006
Bruno Medeiros
Out-of-band: ICE with template and mangleof
Aug 25, 2006
Oskar Linde
June 23, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=220

           Summary: ICE with template and mangleof
           Product: D
           Version: 0.160
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P4
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: clugdbug@yahoo.com.au


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);


-- 

June 29, 2006
d-bugmail@puremagic.com schrieb am 2006-06-23:
> http://d.puremagic.com/issues/show_bug.cgi?id=220

> 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);

Added to DStress as http://dstress.kuehne.cn/compile/m/mangelof_16_A.d http://dstress.kuehne.cn/compile/m/mangelof_16_B.d http://dstress.kuehne.cn/compile/m/mangelof_16_C.d http://dstress.kuehne.cn/compile/m/mangelof_16_D.d http://dstress.kuehne.cn/compile/m/mangelof_16_E.d http://dstress.kuehne.cn/compile/m/mangelof_16_F.d http://dstress.kuehne.cn/compile/m/mangelof_16_G.d http://dstress.kuehne.cn/compile/m/mangelof_16_H.d

Thomas


August 24, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=220


clugdbug@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from clugdbug@yahoo.com.au  2006-08-24 07:58 -------
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.


-- 

August 24, 2006
d-bugmail@puremagic.com 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:0nocn3-d58.ln1@birke.kuehne.cn http://lists.puremagic.com/pipermail/digitalmars-d-bugs/2006-June/001392.html

Thomas



August 24, 2006
Thomas Kuehne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> d-bugmail@puremagic.com 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
August 24, 2006
Oskar Linde wrote:
> Thomas Kuehne wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> d-bugmail@puremagic.com 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
August 25, 2006
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: <0nocn3-d58.ln1@birke.kuehne.cn>
> From: Thomas Kuehne <thomas-dloop@kuehne.cn>
> Newsgroups: digitalmars.D.bugs
> Subject: Re: [Issue 220] New: ICE with template and mangleof
> References: <bug-220-3@http.d.puremagic.com/issues/>

When I file a new bug report, buzilla uses the same address as above for the "ReportedBy" field.

Thomas

August 25, 2006
Thomas Kuehne wrote:
> -----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: <0nocn3-d58.ln1@birke.kuehne.cn>
>> From: Thomas Kuehne <thomas-dloop@kuehne.cn>
>> Newsgroups: digitalmars.D.bugs
>> Subject: Re: [Issue 220] New: ICE with template and mangleof
>> References: <bug-220-3@http.d.puremagic.com/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-----

(subject changed to stop polluting bugzilla with this thread)

Take a look at issue #220 and notice all the comments from you and me. It's definitely working.  What am I missing?

Later,
Brad
August 25, 2006
Brad Roberts schrieb am 2006-08-25:
> Thomas Kuehne wrote:

>> Header extract from the message under investigation:
>> 
>>> Message-ID: <0nocn3-d58.ln1@birke.kuehne.cn>
>>> From: Thomas Kuehne <thomas-dloop@kuehne.cn>
>>> Newsgroups: digitalmars.D.bugs
>>> Subject: Re: [Issue 220] New: ICE with template and mangleof
>>> References: <bug-220-3@http.d.puremagic.com/issues/>

> Take a look at issue #220 and notice all the comments from you and me. It's definitely working.  What am I missing?

I don't see the text of 0nocn3-d58.ln1@birke.kuehne.cn (see above) in bugzilla. A copy of the message was received by puremagic.com: http://lists.puremagic.com/pipermail/digitalmars-d-bugs/2006-June/001392.html

Thomas


August 25, 2006
Thomas Kuehne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Brad Roberts schrieb am 2006-08-25:
>> Thomas Kuehne wrote:
> 
>>> Header extract from the message under investigation:
>>>
>>>> Message-ID: <0nocn3-d58.ln1@birke.kuehne.cn>
>>>> From: Thomas Kuehne <thomas-dloop@kuehne.cn>
>>>> Newsgroups: digitalmars.D.bugs
>>>> Subject: Re: [Issue 220] New: ICE with template and mangleof
>>>> References: <bug-220-3@http.d.puremagic.com/issues/>
> 
>> Take a look at issue #220 and notice all the comments from you and me. It's definitely working.  What am I missing?
> 
> I don't see the text of 0nocn3-d58.ln1@birke.kuehne.cn (see above) in
> bugzilla. A copy of the message was received by puremagic.com:
> http://lists.puremagic.com/pipermail/digitalmars-d-bugs/2006-June/001392.html
> 
> Thomas
> 
> 
> -----BEGIN PGP SIGNATURE-----
> 
> iD8DBQFE7rmfLK5blCcjpWoRAheiAJ9Tn1Wca5nxfKdT/QBuaKVBCGmeiACfZyvR
> TE1XiMzE4fRKyL3snuWdwko=
> =5qIH
> -----END PGP SIGNATURE-----

Ok.. that'd be because that message came in while the regexp for matching subjects was still looking only at \[Bug \d+\] instead of \[(Bug|Issue) \d+\].  The regexp was fixed on July 12th and had been broken since approx June 11th.  I did not attempt to re-capture messages from that span of time.  Yours are arguably of high enough value to want to try to do that, or at least do that for the dstress additions.  I'll add that to my todo list for this weekend.

Later,
Brad
« First   ‹ Prev
1 2