Re: some strange behavior

2009-08-09 Thread Frank Benoit
//o schrieb: > Writing a small opengl text printer (vertex based) I have found that the next > lines are "illegal" to dmd (2.031): > > invariant float[][][] CHARS =[ > [//A > [0,0], > [1/2f,2], > [1,0], > [3/4f,1], > [1/4f,1] > ] > ]; > > dmd complains (comp

some strange behavior

2009-08-08 Thread //o
Writing a small opengl text printer (vertex based) I have found that the next lines are "illegal" to dmd (2.031): invariant float[][][] CHARS =[ [//A [0,0], [1/2f,2], [1,0], [3/4f,1], [1/4f,1] ] ]; dmd complains (compiling with dmd -c bug.d): bug.d

some strange behavior

2009-08-08 Thread //o
Writing a small opengl text printer (vertex based) I have found that the next lines are "illegal" to dmd (2.031): invariant float[][][] CHARS =[ [//A [0,0], [1/2f,2], [1,0], [3/4f,1], [1/4f,1] ] ]; dmd complains (compiling with dmd -c bug.d): bug.d