[Issue 3971] Syntax & semantics for array assigns
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 2 23:46:23 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3971
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
--- Comment #23 from yebblies <yebblies at gmail.com> 2012-02-03 18:46:19 EST ---
(In reply to comment #22)
> In DMD 2.057head this code fails still:
>
>
> void main() {
> int[3] a = [1, 2, 3];
> int[3] b = [10, 20, 30];
> auto c[] = a[] + b[]; // no identifier for declarator c[]
> }
>
>
>
> void main() pure nothrow {
> int[3] a = [1, 2, 2];
> int[3] b = [10, 20, 20];
> const c = a[] + b[]; // Error: Array operation a[] + b[] not implemented
> }
This is a different bug. Are all the other cases fixed?
I know this is an old report, but the way cases are presented in the initial
report make it a pain to test. The cases I've quoted above are much better.
--
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