digitalmars.D.bugs - Compiler crash when overloaded ctor mixed in.
- Bastiaan Veelo <Bastiaan.N.Veelo ntnu.no> Sep 21 2004
#template ctor()
#{
# this() { this(null); }
# this( Object o ) {}
#}
#
#class Foo
#{
# mixin ctor;
#}
#
#void main()
#{
# Foo foo = new Foo();
#}
compiler ouput:
(3): class constructor call must be in a constructor
Segmentation fault
system:
dmd 0.101 on Linux
Sep 21 2004








Bastiaan Veelo <Bastiaan.N.Veelo ntnu.no>