Skip to content

Solved generic parameter of list "forgotten" in VSCode Extension #2082

@breid48

Description

@breid48

Describe the Bug

A known/solved generic parameter of a list is being inferred as T when iterating over the list.

See:

The generic type of class browse_record_list(list[ListT]) has been solved correctly to be BrowseRecord in this screenshot.

Image

However the information is lost on iteration:

Image

If I reload the project, the issue is corrected. I'm only able to reproduce this by leaving the workspace running for some period of time.

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 checkingtypechecking

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions