www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3296] New: DMD crash with no output

reply d-bugmail puremagic.com writes:
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: -------
Sep 03 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3296






---
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: -------
Sep 03 2009
prev sibling parent d-bugmail puremagic.com writes:
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





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: -------
Sep 04 2009