Calltips should be istring

This commit is contained in:
Hackerpilot 2015-02-12 16:24:52 -08:00
parent f5eb2a0639
commit 28dfdd3662
2 changed files with 3 additions and 3 deletions

View File

@ -184,7 +184,7 @@ public:
/** /**
* Calltip to display if this is a function * Calltip to display if this is a function
*/ */
string callTip; istring callTip;
/** /**
* Module containing the symbol. * Module containing the symbol.

View File

@ -577,7 +577,7 @@ private:
{ {
SemanticSymbol* symbol = allocateSemanticSymbol(DESTRUCTOR_SYMBOL_NAME, SemanticSymbol* symbol = allocateSemanticSymbol(DESTRUCTOR_SYMBOL_NAME,
CompletionKind.functionName, symbolFile, location); CompletionKind.functionName, symbolFile, location);
symbol.acSymbol.callTip = "~this()"; symbol.acSymbol.callTip = internString("~this()");
symbol.protection = protection; symbol.protection = protection;
symbol.parent = currentSymbol; symbol.parent = currentSymbol;
symbol.acSymbol.doc = internString(doc); 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) const Parameters parameters, const TemplateParameters templateParameters)
{ {
QuickAllocator!1024 q; QuickAllocator!1024 q;