2011/9/10 Andrej Mitrovic <[email protected]>:
> Some consistency would be good then:
>
> int[3] arr = [1, 2];  // ok
> void main()
> {
>    int[3] arr2 = [1, 2];  // fails at runtime
> }
>

Wow, I didn't know that global level initializing and local variable
initializing are different.
Sorry, my patch rejects arr2, but don't reject arr3.

Kenji Hara

Reply via email to