Bug 11264 – dmd crash with variadic lambda

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-14T16:20:00Z
Last change time
2013-11-22T22:10:47Z
Keywords
ice
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2013-10-14T16:20:31Z
This program causes me a crash, I don't know why (dmd 2.064beta1): void main() { static foo = (int[] x...) => 0; foo(); } A similar problem: import std.typecons: Tuple; void main() { alias Foo = Tuple!(int); static bar = (Foo x) => 0; bar(Foo()); }
Comment #1 by maxim — 2013-10-15T05:33:59Z
In 2.064 beta it gives: Internal error: backend/symbol.c 1017
Comment #2 by k.hara.pg — 2013-11-22T22:10:47Z
*** This issue has been marked as a duplicate of issue 9577 ***