June 22, 2004 dmd v0.92 crash | ||||
|---|---|---|---|---|
| ||||
--[test2.d]--
module test2;
interface HashImpl(D) {
}
class Sha1 : HashImpl {
}
d:\d\src\build>dmd test2.d
test2.d(6): template HashImpl(D) is used as a type
test2.d(6): class Sha1 base type must be class or interface, not void
test2.d(6): class Sha1 'void' must be an interface
<crash>
Regan.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
| ||||
June 22, 2004 Re: dmd v0.92 crash | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | Another one, possibly related:
--[test2.d]--
module test2;
interface A {
}
struct B {
}
class C : B,A {
}
D:\D\src\build>dmd test2.d
test2.d(7): class C base type must be class or interface, not B
test2.d(7): class C 'B' must be an interface
<crash>
On Wed, 23 Jun 2004 11:13:19 +1200, Regan Heath <regan@netwin.co.nz> wrote:
> --[test2.d]--
> module test2;
>
> interface HashImpl(D) {
> }
>
> class Sha1 : HashImpl {
> }
>
> d:\d\src\build>dmd test2.d
> test2.d(6): template HashImpl(D) is used as a type
> test2.d(6): class Sha1 base type must be class or interface, not void
> test2.d(6): class Sha1 'void' must be an interface
> <crash>
>
> Regan.
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply