[Issue 8557] AA error with string[string][]
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 28 00:35:11 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=8557
--- Comment #14 from bearophile_hugs at eml.cc 2013-11-28 00:35:09 PST ---
(In reply to comment #13)
> This issue contains one compiler implementation bug and two enhancements.
This is from Issue 4703 :
void foo(int[] a) {}
void bar(int[int] aa) {}
void main() {
int[] a = [1:2, 3:4, 5:6];
int[int] aa = [1:2, 3:4, 5:6];
foo(a);
bar(aa);
foo([1:2, 3:4, 5:6]); // error
bar([1:2, 3:4, 5:6]); // OK
}
--
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