digitalmars.D.bugs - dmd v0.92 crash
- Regan Heath (14/14) Jun 22 2004 --[test2.d]--
- Regan Heath (16/28) Jun 22 2004 Another one, possibly related:
--[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/
Jun 22 2004
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/
Jun 22 2004








Regan Heath <regan netwin.co.nz>