diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2024-04-06 10:57:25 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2024-04-06 10:57:25 +0200 |
| commit | 34dc6495d51d8525bd2bc1059a31a27588b08e0c (patch) | |
| tree | d39eb0ce5110402544049e51a7eaf46a928c171b /src/server/analysis.odin | |
| parent | 524b76e91d524c095d7ef15bd5e129226246d167 (diff) | |
Fix issues with -> not being parsed correctly with call expression
Diffstat (limited to 'src/server/analysis.odin')
| -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 81f2df9..7ffc177 100644 --- a/src/server/analysis.odin +++ b/src/server/analysis.odin @@ -4460,10 +4460,10 @@ fallback_position_context_completion :: proc( } else if c == '[' && bracket_count == 0 { start = i + 1 break - } else if c == ']' && !last_dot { + } else if c == ']' && !last_dot && !last_arrow { start = i + 1 break - } else if c == ')' && !last_dot { + } else if c == ')' && !last_dot && !last_arrow { start = i + 1 break } else if c == ')' { |