http://d.puremagic.com/issues/show_bug.cgi?id=11264
Summary: dmd crash with variadic lambda
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2013-10-14 16:20:31 PDT ---
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());
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------