diff --git a/dsymbol/src/dsymbol/conversion/third.d b/dsymbol/src/dsymbol/conversion/third.d index 8cfbc48..c0054cc 100644 --- a/dsymbol/src/dsymbol/conversion/third.d +++ b/dsymbol/src/dsymbol/conversion/third.d @@ -29,7 +29,7 @@ import containers.hashset; void thirdPass(Scope* mscope, ref ModuleCache cache, size_t cursorPosition) { - auto desired = first.moduleScope.getScopeByCursor(cursorPosition); + auto desired = mscope.getScopeByCursor(cursorPosition); tryResolve(desired, cache); }