diff --git a/conversion/third.d b/conversion/third.d index 0f4b6bf..b9925c9 100644 --- a/conversion/third.d +++ b/conversion/third.d @@ -154,7 +154,7 @@ private: * string.sizeof); scope(exit) Mallocator.it.deallocate(symbolParts); expandSymbol(symbolParts, - t.type2.symbol.identifierOrTemplateChain, stringCache, name); + t.type2.symbol.identifierOrTemplateChain, stringCache); auto symbols = moduleScope.getSymbolsByNameAndCursor( symbolParts[0], location); if (symbols.length == 0) @@ -175,7 +175,7 @@ private: } static void expandSymbol(string[] strings, const IdentifierOrTemplateChain chain, - shared(StringCache)* stringCache, string n) + shared(StringCache)* stringCache) { for (size_t i = 0; i < chain.identifiersOrTemplateInstances.length; ++i) { diff --git a/semantic.d b/semantic.d index 06ad3e3..660f84b 100644 --- a/semantic.d +++ b/semantic.d @@ -125,5 +125,5 @@ static this() TypeSuffix argumentsTypeSuffix = allocate!TypeSuffix(Mallocator.it); argumentsTypeSuffix.array = true; argumentsType.typeSuffixes = cast(TypeSuffix[]) Mallocator.it.allocate(TypeSuffix.sizeof); - argumentsType.typeSuffixes[0] = argptrTypeSuffix; + argumentsType.typeSuffixes[0] = argumentsTypeSuffix; }