This is wrong D2 code: import std.typecons: TypeTuple; struct Node { Node* left, right; } void main() { Node* n = new Node(); auto le = n.left; auto t = TypeTuple!(n.left); } DMD 2.059 gives this error message, but I think it's better to give a different error message: test.d(8): Error: no property 'left' for type 'Node*'
Is 2.063 this emits "variable n cannot be read at compile time" which is more appropriate. Fixed by https://github.com/D-Programming-Language/dmd/pull/1681