www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - compiler segfault

reply Nick <Nick_member pathlink.com> writes:
The following crashed the compiler (yes I know the code is wrong.)

# class A {}

# class B {}
# class AB : A, B {}

$ dmd tst.d
tst.d(3): class AB 'B' must be an interface
Segmentation fault

Nick
Jul 25 2004
parent "Vathix" <vathixSpamFix dprogramming.com> writes:
"Nick" <Nick_member pathlink.com> wrote in message
news:ce0f01$295o$1 digitaldaemon.com...
 The following crashed the compiler (yes I know the code is wrong.)

Note: this is the crash I mentioned under "Three notable problems with method name resolution" in the D NG, thanks.
Jul 25 2004