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

           Summary: mangle.c:81: char* mangle(Declaration*): Assertion `fd
                    && fd->inferRetType' failed.
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: nfx...@gmail.com


--- Comment #0 from nfx...@gmail.com 2010-05-23 07:37:44 PDT ---
$ cat bla.d 
struct Foo {
    const x = Foo();

    static Foo opCall() {
        return Foo.init;
    }
}

$ dmd bla.d
::mangle(x)
dmd: mangle.c:81: char* mangle(Declaration*): Assertion `fd &&
fd->inferRetType' failed.
Aborted

Tested with dmd 1.061, where I removed the commented printf() in mangle.c line
37.

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

Reply via email to