[Issue 4225] New: mangle.c:81: char* mangle(Declaration*): Assertion	`fd && fd->inferRetType' failed.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun May 23 07:37:46 PDT 2010
    
    
  
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: nobody at puremagic.com
        ReportedBy: nfxjfg at gmail.com
--- Comment #0 from nfxjfg at 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: -------
    
    
More information about the Digitalmars-d-bugs
mailing list