One stupid question: in Python subclassing of Exception looks like:
  class MyError(Exception): pass
but in D, if I'm right, we should write more code:
  class MyError : Exception {
    this(string msg) { super(msg); }
  }
(without constructor we get error: "...Cannot implicitly generate a default ctor when base class <BASECLASS> is missing a default ctor...")

Is any shorter D way?

Reply via email to