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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 6 23:45:54 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6119

           Summary: Assertion failure: '0' on line 1118 in file 'glue.c'
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bugzilla at digitalmars.com


--- Comment #0 from Walter Bright <bugzilla at digitalmars.com> 2011-06-06 23:41:23 PDT ---
void startsWith(alias pred) ()   if (is(typeof(pred('c', 'd')) : bool))
{
}

void startsWith(alias pred) ()   if (is(typeof(pred('c', "abc")) : bool))
{
}

void test()
{
    startsWith!((a, b) { return a == b; })();
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list