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: s...@invisibleduck.org
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@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: -------

Reply via email to