Thread overview
[Issue 557] New: ICE returning a tuple from a function (Assertion failure: '0' on line 694 in file 'glue.c')
Nov 18, 2006
d-bugmail
Nov 25, 2006
Thomas Kuehne
Dec 03, 2006
d-bugmail
November 18, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=557

           Summary: ICE returning a tuple from a function (Assertion
                    failure: '0' on line 694 in file 'glue.c')
           Product: D
           Version: 0.174
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: brunodomedeiros+bugz@gmail.com


template Tuple(T...) { alias T Tuple; }
  alias Tuple!(int,int) TType;

  TType foo()
  {
        return TType;
  }


-- 

November 25, 2006
d-bugmail@puremagic.com schrieb am 2006-11-18:
> http://d.puremagic.com/issues/show_bug.cgi?id=557

> template Tuple(T...) { alias T Tuple; }
>   alias Tuple!(int,int) TType;
>
>   TType foo()
>   {
>         return TType;
>   }

Added to DStress as http://dstress.kuehne.cn/nocompile/t/tuple_03_A.d http://dstress.kuehne.cn/nocompile/t/tuple_03_B.d http://dstress.kuehne.cn/nocompile/t/tuple_03_C.d http://dstress.kuehne.cn/nocompile/t/tuple_03_D.d

Thomas


December 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=557


deewiant@gmail.com changed:

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




------- Comment #2 from deewiant@gmail.com  2006-12-03 03:32 -------
Fixed in DMD 0.176.


--