aa bug?

Saaa empty at needmail.com
Tue Jul 28 14:42:47 PDT 2009


struct S
{
  int i;
}
S[char[]] aa;
void main() {
  aa["test"].i = 10;
}

Error: ArrayBoundsError
D1.046

looks like a bug to me or can't structs be aa's? 




More information about the Digitalmars-d-learn mailing list