www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10606] New: DMD Exit code 139

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

           Summary: DMD Exit code 139
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: kozzi11 gmail.com



When I try compile code like this:
module main;

class A(T) {
    static string g(string v) { return "a" ~ v; }
    immutable b = immutable C!(T)("u");
}

class B : A!(B) {}

immutable struct C(T) {
    string a;

    alias a this;
    this(string a) {
        this.a = T.g(a); // but with this.a = a it is ok;
    }
}

void main(string[] args) {}

I get Exit code 139

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