From c1ba6096097306668908316350208bf5904dfb84 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Fri, 13 Jan 2023 11:35:25 +0200 Subject: [PATCH] Resolution - Fixed indentation --- source/tlang/compiler/typecheck/resolution.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/tlang/compiler/typecheck/resolution.d b/source/tlang/compiler/typecheck/resolution.d index 41d9b564..67721242 100644 --- a/source/tlang/compiler/typecheck/resolution.d +++ b/source/tlang/compiler/typecheck/resolution.d @@ -303,7 +303,7 @@ public final class Resolver return entityWithin; } /* If `name` was NOT found within container `c` or above it */ - else + else { return null; } @@ -323,7 +323,7 @@ public final class Resolver return entityNext; } /* Go deeper */ - else + else { string newPath = name[indexOf(name, '.') + 1 .. name.length]; Entity entityNext = resolveWithin(c, path[1]); @@ -352,7 +352,7 @@ public final class Resolver } } /* We need to search higher */ - else + else { /* TODO: Bug is we will never find top container */ /* Check if the name of root is that of Module */