October 12, 2013 Immutable variadic lambda | ||||
|---|---|---|---|---|
| ||||
This program causes me a crash, do you know if it's a problem of mine, a known bug, or an unknown one?
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());
}
Bye,
bearophile
| ||||
October 14, 2013 Re: Immutable variadic lambda | ||||
|---|---|---|---|---|
| ||||
Posted in reply to bearophile | http://d.puremagic.com/issues/show_bug.cgi?id=11264 Bye, bearophile | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply