From 55c919ce50af9b1f1efe1af04a69e664b36d30c8 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Mon, 23 Apr 2018 14:53:46 +0200 Subject: [PATCH] fix #451 - string compatibilityContent() const should be nothrow for compatibility with older code --- src/dcd/common/messages.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dcd/common/messages.d b/src/dcd/common/messages.d index 4423ea3..3eeeb7f 100644 --- a/src/dcd/common/messages.d +++ b/src/dcd/common/messages.d @@ -147,7 +147,7 @@ struct AutocompleteResponse */ string documentation; - deprecated("Use identifier (or definition for calltips) instead") string compatibilityContent() const + deprecated("Use identifier (or definition for calltips) instead") string compatibilityContent() const nothrow { if (kind == ubyte.init) return definition;