diff --git a/src/actypes.d b/src/actypes.d index 9e2e914..6183057 100644 --- a/src/actypes.d +++ b/src/actypes.d @@ -184,7 +184,7 @@ public: /** * Calltip to display if this is a function */ - string callTip; + istring callTip; /** * Module containing the symbol. diff --git a/src/conversion/first.d b/src/conversion/first.d index 55f4b7c..cd00f48 100644 --- a/src/conversion/first.d +++ b/src/conversion/first.d @@ -577,7 +577,7 @@ private: { SemanticSymbol* symbol = allocateSemanticSymbol(DESTRUCTOR_SYMBOL_NAME, CompletionKind.functionName, symbolFile, location); - symbol.acSymbol.callTip = "~this()"; + symbol.acSymbol.callTip = internString("~this()"); symbol.protection = protection; symbol.parent = currentSymbol; symbol.acSymbol.doc = internString(doc); @@ -669,7 +669,7 @@ private: } } - string formatCallTip(const Type returnType, string name, + istring formatCallTip(const Type returnType, string name, const Parameters parameters, const TemplateParameters templateParameters) { QuickAllocator!1024 q;