Update core.d

The compiler requires a constructor if the base class has a constructor.