aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorBradley Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-30 09:02:06 -0400
committerGitHub <noreply@github.com>2025-07-30 09:02:06 -0400
commit5263847aa5cb7ed2e2af029e60af557d82ac605f (patch)
treeb8edc07e7268066d29823c4297547fd33c791c59 /src/server
parentd66cc19fc8f5afa4b3956e69a2a90a68a9d2c70c (diff)
parent94793904127d1f11f66cdaacf5dded455e313e57 (diff)
Merge pull request #804 from BradLewis/fix/switch-initialiser
Resolve switch statement init for locals
Diffstat (limited to 'src/server')
-rw-r--r--src/server/analysis.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin
index 9c2315e..a7b7695 100644
--- a/src/server/analysis.odin
+++ b/src/server/analysis.odin
@@ -4056,6 +4056,7 @@ get_locals_switch_stmt :: proc(
return
}
+ get_locals_stmt(file, stmt.init, ast_context, document_position)
get_locals_stmt(file, stmt.body, ast_context, document_position)
}