Skip to content

Panic during completions: no entry found for key #572

@MichaReiser

Description

@MichaReiser

Summary

Typing def m panics with the exception no entry found for key

This can be reproduced in the playground.

The issue seems that the scope id of the function's identifier can't be looked up. We'll need to make sure to register the function identifier during semantic index building

CC: @BurntSushi

Version

astral-sh/ruff@67d94d9

Metadata

Metadata

Assignees

No one assigned

    Labels

    completionsBugs or features relating to autocomplete suggestionsfatala fatal error (panic or crash)serverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions