Skip to content

Missing submodule definition #1935

@aaron-ang

Description

@aaron-ang

Describe the Bug

Pyrefly:
Image

Pyright:
Image

Context: LSP definition enables following token references into the file where it was defined, usually by Control-click.

I am not able to get LSP definition for nn submodule in torch.nn.Linear in Pyrefly, but am able to do so in both LSPs in import torch.nn.

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverIssues specific to our IDE integration rather than type checking

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions