Skip to content

Commit

Permalink
fix: Corrected hash calculation for keyword matchers for keywords wit…
Browse files Browse the repository at this point in the history
…h embedded arguments for RF < 7
  • Loading branch information
d-biehl committed Nov 4, 2024
1 parent c4d2ddd commit c58f622
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/robot/src/robotcode/robot/diagnostics/library_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,12 @@ def __hash__(self) -> int:
self.normalized_name,
self._is_namespace,
self._can_have_embedded,
self.embedded_arguments,
self.embedded_arguments.name if self.embedded_arguments else None,
self.embedded_arguments.args if self.embedded_arguments else None,
(
tuple(self.embedded_arguments.args)
if self.embedded_arguments and self.embedded_arguments.args
else None
),
)
)

Expand Down

0 comments on commit c58f622

Please sign in to comment.