Skip to content

Completion fails to find subsequent declaration in incomplete ternary #6127

Closed
@falsandtru

Description

@falsandtru
1 ? f // does not work the autocompletion, `func` cannot select.
1 ? 1 : f // work the autocompletion, `func` can select.

function func() {}

Divides #6079.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".FixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions