http://d.puremagic.com/issues/show_bug.cgi?id=6036
Do you think this has to be correct code?
struct Adder {
int v;
int opCall(int x) { return x + v; }
}
void main() {
auto a = Adder(5);
}
Bye,
bearophile
http://d.puremagic.com/issues/show_bug.cgi?id=6036
Do you think this has to be correct code?
struct Adder {
int v;
int opCall(int x) { return x + v; }
}
void main() {
auto a = Adder(5);
}
Bye,
bearophile