Bug 2863 – Assertion failure: '0' on line 935 in file 'glue.c'

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2009-04-20T12:06:00Z
Last change time
2015-06-09T01:26:25Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
bugzilla

Comments

Comment #0 by bugzilla — 2009-04-20T12:06:17Z
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
Comment #1 by dsimcha — 2009-05-04T21:41:55Z
*** This bug has been marked as a duplicate of 2251 ***
Comment #2 by gide — 2009-05-16T01:46:18Z
*** This issue has been marked as a duplicate of issue 2982 ***