[Issue 10606] New: DMD Exit code 139

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 11 01:52:29 PDT 2013


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 at puremagic.com
        ReportedBy: kozzi11 at gmail.com


--- Comment #0 from Daniel Kozak <kozzi11 at gmail.com> 2013-07-11 01:52:23 PDT ---
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: -------


More information about the Digitalmars-d-bugs mailing list