Comment #0 by bearophile_hugs — 2012-06-01T13:25:28Z
import std.stdio, std.typecons;
void main() {
static struct Foo { int x; }
auto f = Foo(20);
f.writeln(); // OK
Tuple!(int) t = tuple(10);
t.writeln(); // error
}
dmd 2.060alpha gives
test.d(7): Error: not a property t.writeln
test.d(7): Error: function expected before (), not writeln(t) of type void