[Issue 3816] New: Array op: sum and assign to not initialized array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 18 10:12:23 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3816
Summary: Array op: sum and assign to not initialized array
Product: D
Version: 2.040
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: druntime
AssignedTo: sean at invisibleduck.org
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2010-02-18 10:12:22 PST ---
This prints nothing, and there are no errors at compile time or run time:
import std.stdio: writeln;
void main() {
int[] a1 = [1, 2, 3];
int[] a2 = [4, 5, 6];
int[] a3;
a3[] = a1[] + a2[];
writeln(a3); // prints nothing
}
--
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