Thread overview
[Issue 354] New: Internal error: e2ir.c 772 with bad template use
Sep 17, 2006
d-bugmail
Sep 20, 2006
Thomas Kuehne
Nov 25, 2006
d-bugmail
September 17, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=354

           Summary: Internal error: e2ir.c 772 with bad template use
           Product: D
           Version: 0.166
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: chris@dprogramming.com


import std.stdio;

template GetNumber()
{
        const int GetNumber = 0;
}

void main()
{
        writefln(GetNumber);
}


>dmd test
GetNumber()
Internal error: e2ir.c 772


-- 

September 20, 2006
d-bugmail@puremagic.com schrieb am 2006-09-17:
> http://d.puremagic.com/issues/show_bug.cgi?id=354

> import std.stdio;
>
> template GetNumber()
> {
>         const int GetNumber = 0;
> }
>
> void main()
> {
>         writefln(GetNumber);
> }
>
>
>>dmd test
> GetNumber()
> Internal error: e2ir.c 772

Added to DStress as http://dstress.kuehne.cn/run/b/bug_e2ir_772_A.d http://dstress.kuehne.cn/run/b/bug_e2ir_772_B.d http://dstress.kuehne.cn/run/b/bug_e2ir_772_C.d http://dstress.kuehne.cn/run/b/bug_e2ir_772_D.d http://dstress.kuehne.cn/run/b/bug_e2ir_772_E.d http://dstress.kuehne.cn/run/b/bug_e2ir_772_F.d http://dstress.kuehne.cn/compile/b/bug_e2ir_772_G.d http://dstress.kuehne.cn/compile/b/bug_e2ir_772_H.d http://dstress.kuehne.cn/compile/b/bug_e2ir_772_I.d http://dstress.kuehne.cn/compile/b/bug_e2ir_772_J.d

Thomas


November 25, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=354


bugzilla@digitalmars.com changed:

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




------- Comment #2 from bugzilla@digitalmars.com  2006-11-25 03:49 -------
Fixed DMD 0.175


--