Skip to content

Completions broken for pre-qualified import #2824

Closed
@Jashweii

Description

@Jashweii
import qualified Control.Monad as M(|)
                                    ^ cursor

Doesn't suggest imports from Control.Monad, unlike post-qualified and unqualified imports.
I don't think it matters if "as" is present or not.

I get this on both:
HLS current master / GHC 9.2.2 / WSL Ubuntu / vscode (WSL)
HLS 1.6.1.0 / GHC 9.2.1 / Windows / vscode

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ghcidelevel: easyThe issue is suited for beginnerspriority: highHigh priority itemtype: 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