www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2349] New: Assertion failure: '0' on line 886 in file 'glue.c'

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2349

           Summary: Assertion failure: '0' on line 886 in file 'glue.c'
           Product: D
           Version: 2.019
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: samukha voliacable.com


Caused by a combination of 'auto' and parameter tuple in a function template.

template Tuple(A...)
{
    alias A Tuple;
}

auto foo()(Tuple!(int) a)
{
}

void main()
{
    foo!()(1);
}


-- 
Sep 08 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2349


dsimcha yahoo.com changed:

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




------- Comment #1 from dsimcha yahoo.com  2008-09-08 12:49 -------


*** This bug has been marked as a duplicate of 2251 ***


-- 
Sep 08 2008