Thread overview
[Issue 3296] New: DMD crash with no output
Sep 03, 2009
2korden@gmail.com
Sep 03, 2009
Koroskin Denis
Sep 04, 2009
Don
September 03, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3296

           Summary: DMD crash with no output
           Product: D
           Version: 2.031
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: 2korden@gmail.com


The following code crashes DMD. Can you find out what's wrong with it? :)

interface Interface
{
    void doStuff();
}

class Class : public Interface
{
    public final doStuff()
    {
    }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 03, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3296





--- Comment #1 from Koroskin Denis <2korden@gmail.com>  2009-09-03 13:34:52 PDT ---
Probably related, the following code is accepted without a complaint:

class Class
{
    public final doStuff()
    {
    }
}

(not accepted if no 'final' presents)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3296


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug@yahoo.com.au
         Resolution|                            |DUPLICATE




--- Comment #2 from Don <clugdbug@yahoo.com.au>  2009-09-04 00:26:13 PDT ---
This is the same as bug 3042, which already has a patch. The terrible thing about segfaults is it's really hard to see if the same bug has been reported before.

*** This issue has been marked as a duplicate of issue 3042 ***

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