Thread overview
[Issue 2863] New: Assertion failure: '0' on line 935 in file 'glue.c'
Apr 20, 2009
d-bugmail
May 05, 2009
d-bugmail
May 16, 2009
Gide Nwawudu
April 20, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2863

           Summary: Assertion failure: '0' on line 935 in file 'glue.c'
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: bugzilla@digitalmars.com


So now I'm playing with this new toy of D2, not using it in a serious way yet, and I have written:

import std.stdio: writeln;
auto apply(alias f, TyArgs...)(TyArgs args) {
    return f(args);
}
void main() {
    writeln(  apply!( (x, y) { return x * y; } )(3, 4)  );
}

But when I compile it the compile spits out at compile-time: Assertion failure: '0' on line 935 in file 'glue.c'

Bye,
bearophile


-- 

May 05, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2863


dsimcha@yahoo.com changed:

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




------- Comment #1 from dsimcha@yahoo.com  2009-05-04 21:41 -------


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


-- 

May 16, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2863


Gide Nwawudu <gide@nwawudu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |gide@nwawudu.com




--- Comment #2 from Gide Nwawudu <gide@nwawudu.com>  2009-05-16 01:46:18 PDT ---


*** This issue has been marked as a duplicate of issue 2982 ***

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