diff options
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/analysis.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin index 630110f..c9ec923 100644 --- a/src/server/analysis.odin +++ b/src/server/analysis.odin @@ -3555,7 +3555,7 @@ get_locals_if_stmt :: proc( return } - get_locals_stmt(file, stmt.init, ast_context, document_position, true) + get_locals_stmt(file, stmt.init, ast_context, document_position, false) get_locals_stmt(file, stmt.body, ast_context, document_position) get_locals_stmt(file, stmt.else_stmt, ast_context, document_position) } @@ -3752,7 +3752,7 @@ get_locals_for_stmt :: proc( return } - get_locals_stmt(file, stmt.init, ast_context, document_position, true) + get_locals_stmt(file, stmt.init, ast_context, document_position, false) get_locals_stmt(file, stmt.body, ast_context, document_position) } |