[Issue 8557] AA error with string[string][]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 28 01:51:58 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=8557



--- Comment #16 from bearophile_hugs at eml.cc 2013-11-28 01:51:49 PST ---
(In reply to comment #15)
> Here I think both should compile or both should not compile:
> 
> 
> void main() {
>     enum Foo { A }
>     int[]     a1 = [Foo.A: 10]; // OK
>     int[] a2; a2 = [Foo.A: 10]; // Error
> }

I think I'd like to both compile.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list