www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 557] New: ICE returning a tuple from a function (Assertion failure: '0' on line 694 in file 'glue.c')

reply d-bugmail puremagic.com writes:
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;
  }


-- 
Nov 18 2006
next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 -----BEGIN PGP SIGNATURE----- iD8DBQFFaIZfLK5blCcjpWoRAvcwAJ94QTo8c+WxV74YR21U9S7ewOz7+gCcCz8I myKNzLbmmbn6PiLkNjrWMPM= =QaLH -----END PGP SIGNATURE-----
Nov 25 2006
prev sibling parent d-bugmail puremagic.com writes:
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.


-- 
Dec 03 2006