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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 27 17:41:17 PST 2013


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



--- Comment #12 from bearophile_hugs at eml.cc 2013-11-27 17:41:12 PST ---
Another case:


void main() {
    int[][int] aa1;
    aa1 = [1: [2, 3], 4: []]; // OK
    int[int][int] aa2;
    aa2 = [1: [2: 3], 4: []]; // error
}

test.d(5): Error: incompatible types for (([2:3]) : ([])): 'int[int]' and
'void[]'

-- 
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