Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Danila Fedorin <daniel.fedorin@hpe.com>
  • Loading branch information
DanilaFe committed Oct 14, 2024
1 parent 00aee9e commit 32de3b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/chpl-language-server/src/chpl-language-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ def get_file_info(
then the FileInfo's index is rebuilt even if it has already been
computed. This is useful if the underlying file has changed.
Most of the tiem, we will create a new context for a given URI. When
Most of the time, we will create a new context for a given URI. When
requested, however, context_id will be used to create a FileInfo
for a specific context. This is useful if e.g., file A wants to display
an instantiation in file B.
Expand Down Expand Up @@ -1493,7 +1493,7 @@ def unpack_call_hierarchy_item(
MessageType.Error,
)
return None
uid, idx, ctx = item.data
uid, inst_id, ctx = item.data

fi, _ = self.get_file_info(item.uri, context_id=ctx)

Expand All @@ -1509,7 +1509,7 @@ def unpack_call_hierarchy_item(
# We don't handle that here.
return None

instantiation = fi.context.retrieve_signature(idx)
instantiation = fi.context.retrieve_signature(inst_id)

return (fi, fn, instantiation)

Expand Down

0 comments on commit 32de3b8

Please sign in to comment.