Skip to content

The code action to import a qualified identifier does not produce a qualified import anymore #3473

Closed
@Kleidukos

Description

@Kleidukos

Your environment

Which OS do you use? Fedora 36

Which version of GHC do you use and how did you install it? GHC 9.4.4 via ghcup

How is your project built (alternative: link to the project)? cabal

Which LSP client (editor/plugin) do you use? nvim_lsp

Which version of HLS do you use and how did you install it? latest master via ghcup

Have you configured HLS in any way (especially: a hie.yaml file)? no

Steps to reproduce

Reproducer code
module Reproducer where

operation :: [a] -> [b]
operation = List.map
screenshot of the suggestions

Screenshot_20230131_155908

Expected behaviour

HLS used to be able to suggest qualified imports for qualified identifiers

Actual behaviour

HLS is not able to suggest qualified imports for qualified identifiers anymore

Debug information

No idea what to include, please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GHCissues with particular GHC versionsdocumentationtype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions