Skip to content

Commit 77bc3a9

Browse files
committed
correct find library references with alias
1 parent b1653b8 commit 77bc3a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

robotcode/language_server/robotframework/parts/references.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,9 @@ async def references_LibraryImport( # noqa: N802
699699
return None
700700

701701
if position in range_from_token(name_token):
702-
library_doc = await namespace.get_imported_library_libdoc(import_node.name, import_node.args)
702+
library_doc = await namespace.get_imported_library_libdoc(
703+
import_node.name, import_node.args, import_node.alias
704+
)
703705

704706
if library_doc is None:
705707
return None

0 commit comments

Comments
 (0)