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() { } }
Probably related, the following code is accepted without a complaint: class Class { public final doStuff() { } } (not accepted if no 'final' presents)
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 ***