remove deprecated funcs in messages.d (#549)

remove deprecated funcs in messages.d
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
BBasile 2018-12-19 04:09:42 +01:00 committed by The Dlang Bot
parent 30311c719e
commit 016af265dd
1 changed files with 0 additions and 34 deletions

View File

@ -148,16 +148,6 @@ struct AutocompleteResponse
* Documentation associated with this symbol.
*/
string documentation;
deprecated("Use identifier (or definition for calltips) instead") string compatibilityContent() const nothrow
{
if (kind == ubyte.init)
return definition;
else
return identifier;
}
alias compatibilityContent this;
}
/**
@ -190,30 +180,6 @@ struct AutocompleteResponse
*/
ulong symbolIdentifier;
deprecated("use completions[].documentation + escapeConsoleOutputString instead") string[] docComments() @property
{
string[] ret;
foreach (ref completion; completions)
ret ~= completion.documentation.escapeConsoleOutputString(true);
return ret;
}
deprecated("use completions[].kind instead") char[] completionKinds() @property
{
char[] ret;
foreach (ref completion; completions)
ret ~= completion.kind;
return ret;
}
deprecated("use completions[].symbolLocation instead") size_t[] locations() @property
{
size_t[] ret;
foreach (ref completion; completions)
ret ~= completion.symbolLocation;
return ret;
}
/**
* Creates an empty acknowledgement response
*/