[Issue 3971] Syntax & semantics for array assigns

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 11 08:39:25 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3971



--- Comment #13 from bearophile_hugs at eml.cc 2010-08-11 08:39:21 PDT ---
While compiling this program:

void main() {
    int[1] a1;
    int[1] a2[] = a1[];
}


compatibility with C syntax produces this error message:
test.d(3): Error: cannot implicitly convert expression (a1[]) of type int[] to
int[1u][]

See also bug 4580 as a way to solve this problem.

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


More information about the Digitalmars-d-bugs mailing list