From 1c60c5480f70db568279e4637a5033953c777406 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Sat, 20 May 2023 00:05:06 +0200 Subject: [PATCH] fix dsymbol tests --- dsymbol/src/dsymbol/tests.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsymbol/src/dsymbol/tests.d b/dsymbol/src/dsymbol/tests.d index 98d4e38..7527f19 100644 --- a/dsymbol/src/dsymbol/tests.d +++ b/dsymbol/src/dsymbol/tests.d @@ -648,7 +648,7 @@ ScopeSymbolPair generateAutocompleteTrees(string source, string filename, ref Mo secondPass(first.rootSymbol, first.moduleScope, cache); - thirdPass(first.moduleScope, cache, cursorPosition); + thirdPass(first.rootSymbol, first.moduleScope, cache, cursorPosition); auto ufcsSymbols = getUFCSSymbolsForCursor(first.moduleScope, tokens, cursorPosition); auto r = first.rootSymbol.acSymbol; typeid(SemanticSymbol).destroy(first.rootSymbol);