From 28dfdd36626ba4fb68edbf2693c040514c9add22 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Thu, 12 Feb 2015 16:24:52 -0800 Subject: [PATCH] Calltips should be istring --- src/actypes.d | 2 +- src/conversion/first.d | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;