Thread overview | |||||
---|---|---|---|---|---|
|
February 14, 2011 D2 dynamic array on Win32 exception | ||||
---|---|---|---|---|
| ||||
Hello, void main() { int[][5] a; a[0][0] = 1; } Compiling this code compiler (D 2.051, Win32) generates an error: core.exception.RangeError@aaa(4): Range violation With D v.1 it's all rigth. I guess it's a bug in D v.2 |
February 14, 2011 Re: D2 dynamic array on Win32 exception | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gleb | Gleb:
> void main()
> {
> int[][5] a;
> a[0][0] = 1;
> }
>
> Compiling this code compiler (D 2.051, Win32) generates an error:
> core.exception.RangeError@aaa(4): Range violation
>
> With D v.1 it's all rigth. I guess it's a bug in D v.2
Are you sure it is not a bug on D1?
For further posts, I suggest you the D.learn newsgroup.
Bye,
bearophile
|
February 14, 2011 Re: D2 dynamic array on Win32 exception | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | Bearophile:
>Are you sure it is not a bug on D1?
>For further posts, I suggest you the D.learn newsgroup.
Bearophile,
Thank you for the answer. I'll try D.learn.
|
Copyright © 1999-2021 by the D Language Foundation