Skip to content

Extend import suggestions don't work when there's more than one option #838

Closed
haskell/ghcide
#913
@pepeiborra

Description

@pepeiborra

Given the following code:

import Data.Map ()

foo = fromList []

ghcide will produce a code action "Add fromList to the import list of Data.Map".

However, the code below will not produce an "Add fromList to the importList" suggestions at all:

import Data.Map ()
import Data.HashMap.Strict()

foo = fromList []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions