From f14e539273c6752c4756e7b34aafdc2136096614 Mon Sep 17 00:00:00 2001 From: ryuukk Date: Sun, 5 Feb 2023 02:20:30 +0100 Subject: [PATCH] more detail --- dsymbol/src/dsymbol/conversion/third.d | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dsymbol/src/dsymbol/conversion/third.d b/dsymbol/src/dsymbol/conversion/third.d index 83fa930..88b7cd3 100644 --- a/dsymbol/src/dsymbol/conversion/third.d +++ b/dsymbol/src/dsymbol/conversion/third.d @@ -29,7 +29,10 @@ import containers.hashset; /** - * Used to resolve remaining symbols when trying to parse modules that depend on each other (public imports) + * Used to resolve the type of remaining symbols that were left out due to modules being parsed from other modules that depend on each other (public imports) + * It will start from the scope of interest at the cursorPosition, and it'll traverse the scope from bottom to top and check if the symbol's type is know + * If it is, then it'll set its type + * If the symbol is not found, then it'll do nothing */ void thirdPass(Scope* mscope, ref ModuleCache cache, size_t cursorPosition) {