www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - compiler segfault / "no super class constructor for Object"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

super_test.d
# class Parent{
# }
#
# class Child : Parent {
#        this(){
#                super();
#        }
# }

dmd -c super_test.d
 super_test.d(6): no super class constructor for Object
 Segmentation fault

test cases: http://svn.kuehne.cn/dstress/run/super_06.d http://svn.kuehne.cn/dstress/run/super_07.d http://svn.kuehne.cn/dstress/run/super_08.d http://svn.kuehne.cn/dstress/nocompile/super_09.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFBufx53w+/yD4P9tIRAuECAJ9l0D0U5U93iVElTP0G+jg/uw3KeACfTo/2 +0U2+DVYptJtBBj9eW0EjzY= =WUdI -----END PGP SIGNATURE-----
Dec 10 2004