On Fri, May 21, 2010 at 10:50 AM, superdan <[email protected]> wrote: >> void foo(int[int] x) >> { >> x[5] = 5; >> } >> void main() >> { >> int[int] x; >> foo(x); >> assert(x[5] == 5); // fails >> } >> -Steve > > wrote a long post but it got lost. shit. bottom line dats a bug in dmd or > phobos.
Unfortunately it works exactly as designed. --bb
