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()
{
}
}
Comment #1 by 2korden — 2009-09-03T13:34:52Z
Probably related, the following code is accepted without a complaint:
class Class
{
public final doStuff()
{
}
}
(not accepted if no 'final' presents)
Comment #2 by clugdbug — 2009-09-04T00:26:13Z
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 ***