Skip to content

Modules in imports don't have a "type" #1011

@Gankra

Description

@Gankra

This is really minor but it's also spooky/weird to me so I want to write this down. If you hover over a reference to a module, we know that it's of type module:

Image

If you hover over a module in an import, we don't:

Image

Specifically GotoTarget::inferred_type (goto-type-definition) doesn't work on this symbol, while all the other goto-/docstring features do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    serverRelated to the LSP server

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions