"Don" <don at nospam.com> wrote in message news:imqicbgjotdtzfgwdeor at forum.dlang.org... > Consider this code: > --- > int[int] x; > > int k = x[2] + 5; // Error, range violation. Makes sense. > > x[2] = x[2] + 5; // But this works!!! > --- > Definitely a bug.