September 21, 2004 Compiler crash when overloaded ctor mixed in. | ||||
---|---|---|---|---|
| ||||
#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 |
Copyright © 1999-2021 by the D Language Foundation