remove deprecated funcs in messages.d

This commit is contained in:
Basile Burg 2018-12-18 17:34:39 +01:00
parent 62c1614e75
commit 9eb172967f
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
*/