diff options
| author | Isaiah Paget <113209222+IsaiahPaget@users.noreply.github.com> | 2024-04-06 12:01:45 -0700 |
|---|---|---|
| committer | Isaiah Paget <113209222+IsaiahPaget@users.noreply.github.com> | 2024-04-06 12:01:45 -0700 |
| commit | 9d8cc49b0f6c3b6d0b5c46dae665fee7c7cb7b42 (patch) | |
| tree | f6da1a165c2c476a87f7d00f84f8a2aa1d37ac64 /src/server | |
| parent | b398c8c817c2b28888e86ebdae84b8deb00a49e0 (diff) | |
fixed no type inference using for in loop
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/analysis.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin index 81f2df9..6dfe394 100644 --- a/src/server/analysis.odin +++ b/src/server/analysis.odin @@ -3185,7 +3185,7 @@ get_locals_for_range_stmt :: proc( ) { using ast - if !(stmt.body.pos.offset <= document_position.position && + if !(stmt.body.pos.offset >= document_position.position && document_position.position <= stmt.body.end.offset) { return } |