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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 8 10:24:33 PDT 2008


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 at digitalmars.com
        ReportedBy: samukha at 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);
}


-- 



More information about the Digitalmars-d-bugs mailing list