diff --git a/src/object.d b/src/object.d index f0871015cb..f0eb55a044 100644 --- a/src/object.d +++ b/src/object.d @@ -1689,7 +1689,6 @@ class Throwable : Object sink("@"); sink(file); sink("("); sink(sizeToTempString(line, tmpBuff, 10)); sink(")"); - auto msg = message(); if (msg.length) { sink(": "); sink(msg); @@ -1710,19 +1709,6 @@ class Throwable : Object } } } - - /** - * Get the message describing the error. - * Base behavior is to return the `Throwable.msg` field. - * Override to return some other error message. - * - * Returns: - * message - */ - const(char)[] message() const - { - return msg; - } }