Bug 3296 – DMD crash with no output

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2009-09-03T13:33:00Z
Last change time
2015-06-09T01:28:07Z
Keywords
ice-on-invalid-code
Assigned to
nobody
Creator
2korden

Comments

Comment #0 by 2korden — 2009-09-03T13:33:11Z
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 ***