[Issue 7200] New: Array append causes Access Violation with symbolic	debug info
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Jan  2 09:48:56 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7200
           Summary: Array append causes Access Violation with symbolic
                    debug info
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2012-01-02 09:48:54 PST ---
import std.typecons: Tuple;
void main() {
    alias Tuple!(int, int) Foo;
    Foo[] a;
    a ~= Foo(0, 0); // Access Violation
    string[] b;
}
Compiling it with DMD 2.058head:
dmd -g test.d
gives an Access Violation at line 5 at runtime.
-- 
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