diff --git a/autocomplete.d b/autocomplete.d index a67ceb9..83b9c89 100644 --- a/autocomplete.d +++ b/autocomplete.d @@ -586,11 +586,8 @@ T getExpression(T)(T beforeTokens) case tok!"this": case tok!"identifier": if (hasSpecialPrefix) - { i++; - break expressionLoop; - } - break; + break expressionLoop; case tok!".": break; case tok!"*": diff --git a/conversion/first.d b/conversion/first.d index 3692a28..4e36aef 100644 --- a/conversion/first.d +++ b/conversion/first.d @@ -431,7 +431,7 @@ private: symbol.acSymbol.parts.insert(aggregateSymbols[]); symbol.parent = currentSymbol; symbol.protection = protection; - symbol.acSymbol.doc = dec.comment; + symbol.acSymbol.doc = stringCache.intern(dec.comment); currentSymbol = symbol; dec.accept(this); currentSymbol = symbol.parent; @@ -446,7 +446,7 @@ private: processParameters(symbol, null, "this", parameters, doc); symbol.protection = protection; symbol.parent = currentSymbol; - symbol.acSymbol.doc = doc; + symbol.acSymbol.doc = stringCache.intern(doc); currentSymbol.addChild(symbol); if (functionBody !is null) { @@ -463,7 +463,7 @@ private: symbol.acSymbol.callTip = "~this()"; symbol.protection = protection; symbol.parent = currentSymbol; - symbol.acSymbol.doc = doc; + symbol.acSymbol.doc = stringCache.intern(doc); currentSymbol.addChild(symbol); if (functionBody !is null) {