Ops little 'typo'!

This commit is contained in:
RUSshy 2021-08-31 16:33:50 +02:00 committed by GitHub
parent 8b27f6f4a5
commit d5bc235309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ AutocompleteResponse.Completion makeSymbolCompletionInfo(const DSymbol* symbol,
// TODO: should probably make it fully recursive,
if(s.type && s.type.kind == CompletionKind.functionName) s = s.type;
definition = s.type.name ~ ' ' ~ symbol.name;
definition = s.name ~ ' ' ~ symbol.name;
}
else if (kind == CompletionKind.enumMember)
definition = symbol.name; // TODO: add enum value to definition string