Skip to content

Check types of missing definition in add import quick suggestions #754

Open
@ilyakooo0

Description

@ilyakooo0

Current behavior:

Even though the type of toLower is known from the context (Char -> Char), "quick fix" purposes to import functions that, despite having the same name, are known not to be correct type-wise (Data.Text.Lazy (toLower) for example).

Screenshot 2020-07-07 at 13 41 51
Screenshot 2020-07-07 at 13 42 02

Proposed behavior:

When the type of the undefined function is fully known, filter quick fixes by type.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions