struct S { int a, b, c; } struct HasPostblit { this(this) {} // Bug goes away without this. } auto toRandomAccessTuple(T...)(T input, HasPostblit hasPostblit) { return S(1, 2, 3); } void doStuff(T...)(T args) { HasPostblit hasPostblit; // Bug goes away without the .tupleof. auto foo = toRandomAccessTuple(args, hasPostblit).tupleof; } void main() { doStuff(1, 2, 3); }
*** This issue has been marked as a duplicate of issue 4940 ***