Thread overview
[Issue 6119] New: Assertion failure: '0' on line 1118 in file 'glue.c'
Jun 07, 2011
Walter Bright
Jun 07, 2011
Walter Bright
May 11, 2012
Kenji Hara
June 07, 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@puremagic.com
        ReportedBy: bugzilla@digitalmars.com


--- Comment #0 from Walter Bright <bugzilla@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: -------
June 07, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6119


Walter Bright <bugzilla@digitalmars.com> changed:

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


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2011-06-07 01:06:14 PDT ---
https://github.com/D-Programming-Language/dmd/commit/cacbd0a9aad2d4263aac15637c4a63834ff40a0c

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 11, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6119


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2012-05-10 19:52:21 PDT ---
*** Issue 6257 has been marked as a duplicate of this issue. ***

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