July 28, 2004
[offsetbug.d]

struct S1 { }

struct S2 { S1 s1; }

void main()
{
  int i = S2.s1.offset; // error here
}

dmd 0.96 outputs:

ty = 8
offsetbug.d(7): no property 'offset' for type 'S1'